我正在尝试用Ruby语言构建LinkParser。
我使用的是RVM Ruby 1.9.2,最初安装程序无法构建LinkParser,因为link-grammar不存在,但一旦我用sudo port install link-grammar安装了它,构建错误就变成了:
checking for pkg-config... yes
MacOS X build: fixing architecture flags:
using the value in ARCHFLAGS environment variable ("-arch x86_64").
checking for dictionary_create() in -llink-grammar... yes
checking for link-grammar/link-includes.h... no
*** extconf.rb failed ***它说link-includes.h文件不见了。为了安装这个程序,我还缺少其他需要存在的包吗?
发布于 2010-12-11 22:18:53
macports版本太旧了,它至少需要4.7.0版本的链接语法,所以我只是从源代码编译它,它起作用了。
https://stackoverflow.com/questions/4416979
复制相似问题