手机
当前位置:查字典教程网 >操作系统 >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】相关文章:

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

给VMware虚拟机中的CentOS分区扩容的操作笔记

Linux系统下使用wine运行迅雷5的方法

DELL服务器M100E中linux5.5无法启动的解决方法

centos中lvs安装配置方法详解

linux下 安装GD

Linux Mint 5 XFCE Community Edition RC1 (BETA 025) 本月17日开始发布

linux的3种引导方法

linux-2.6内核升级详细文档

在CentOS系统安装pop3的步骤

精品推荐
分类导航