我需要在我的 Ubuntu 发行版 17.10 上安装和使用 WordNet(当前版本 3.0)。我已经安装了所有依赖项(tcl/tk),并且按照开发人员的说明,我按照通常的方式
./configure
make
make install
过程。
我解开了包的皮重,当我在目录中输入 时./configure.sh
,它可以正常工作,没有错误:
WordNet is now configured
Installation directory: /usr/local/WordNet-3.0
等等
当我现在运行时,make
我得到:
compilation terminated.
Makefile:267: recipe for target 'libWN_a-binsrch.o' failed
make[3]: *** [libWN_a-binsrch.o] Error 1
make[3]: Leaving directory '/home/user/WordNet/WordNet-3.0/lib'
Makefile:372: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/user/WordNet/WordNet-3.0/lib'
Makefile:218: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/WordNet/WordNet-3.0'
Makefile:156: recipe for target 'all' failed
make: *** [all] Error 2
如果我跑步,
sudo make
我会得到:
compilation terminated.
Makefile:273: recipe for target 'wishwn-tkAppInit.o' failed
make[2]: *** [wishwn-tkAppInit.o] Error 1
make[2]: Leaving directory '/home/user/WordNet/WordNet-3.0/src'
Makefile:218: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/WordNet/WordNet-3.0'
Makefile:156: recipe for target 'all' failed
make: *** [all] Error 2
(如果我make
再次输入,我会得到同样的错误,之后和之后sudo make
)。
在程序的分发自述文件和安装文本中,我没有找到任何相关信息。
有什么见解吗?
谢谢!