手机
当前位置:查字典教程网 >操作系统 >RedHat/Centos >linux ultrasphinx Anonymous modules have no name to be referenced by
linux ultrasphinx Anonymous modules have no name to be referenced by
摘要:今天在Linux上安装好ultrasphinx后,打算跑一下rakeultrasphinx:configure生成配置文件.结果运行期间出现...

今天在Linux上安装好ultrasphinx后, 打算跑一下rake ultrasphinx:configure生成配置文件.

结果运行期间出现提示 Anonymous modules have no name to be referenced by

根据rake --trace 提示,找到了出错的地方,修改了一下,便可以运行了

I was able to fix the problem by changing the last call in the

load_constants method from

# Build the field-to-type mappings.

Fields.instance.configure(MODEL_CONFIGURATION)

to

# Build the field-to-type mappings.

Ultrasphinx::Fields.instance.configure(MODEL_CONFIGURATION)

【linux ultrasphinx Anonymous modules have no name to be referenced by】相关文章:

Linux系统常用磁盘管理命令

红帽企业版更新 Red Hat发布RHEL 7.1下载

centos安装rpm报Header V3 DSA signature错误的解决方法(yum安装软件报错)

当Linux文件系统被破坏时

linux-2.6内核升级详细文档

centos6.5添加新网卡配置方法

Linux启动出现start ls-disk module sg not found

CentOS操作系统安装CMake图文步骤

virtualbox虚拟机安装centos并配置网络使宿主机和虚拟机能够互相访问

Linux系统下生成引导盘与驱动程序盘的方法

精品推荐
分类导航