在OSX 10.8.5上编译WordNet 3.0 [英] Compiling WordNet 3.0 on OSX 10.8.5

查看:91
本文介绍了在OSX 10.8.5上编译WordNet 3.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让WordNet在我的Notebook上运行,但在该过程的制作步骤中失败,如下所示:

I'm trying to get WordNet to work on my Notebook but it fails in the make step of the process as follows:


WaldundWiesenComputer:WordNet-3.0 Gnaddel$ make
make  all-recursive
Making all in doc
Making all in html
make[3]: Nothing to be done for `all'.
Making all in man
make[3]: Nothing to be done for `all'.
Making all in pdf
make[3]: Nothing to be done for `all'.
Making all in ps
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in dict
make[2]: Nothing to be done for `all'.
Making all in include
Making all in tk
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in lib
Making all in wnres
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/usr/local/include -I/usr/X11/include -I/usr/local/include -I.. -I../include -I/usr/local/include -I/usr/X11/include -I/usr/local/include    -g -O2 -MT wishwn-stubs.o -MD -MP -MF ".deps/wishwn-stubs.Tpo" -c -o wishwn-stubs.o `test -f 'stubs.c' || echo './'`stubs.c; \
    then mv -f ".deps/wishwn-stubs.Tpo" ".deps/wishwn-stubs.Po"; else rm -f ".deps/wishwn-stubs.Tpo"; exit 1; fi
stubs.c: In function ‘wn_findvalidsearches’:
stubs.c:43: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c:55: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_bit’:
stubs.c:72: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c:78: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_search’:
stubs.c:92: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c:105: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_glosses’:
stubs.c:117: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_fileinfo’:
stubs.c:132: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_byteoffset’:
stubs.c:147: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_senseflag’:
stubs.c:162: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_contextualhelp’:
stubs.c:178: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c:183: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_reopendb’:
stubs.c:193: error: ‘Tcl_Interp’ has no member named ‘result’
stubs.c: In function ‘wn_abortsearch’:
stubs.c:207: error: ‘Tcl_Interp’ has no member named ‘result’
make[2]: *** [wishwn-stubs.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

XCode和命令行工具集均已安装在当前版本中.

Both XCode and the command line toolset are installed in their current versions.

感谢您的帮助!

推荐答案

我在Ubuntu上也遇到了同样的问题.当我卸载最新版本的Tcl时,它得到了解决的机器(我先在Tcl 8.6中尝试过).并安装了旧版本的Tcl 8.4.使用旧版本的Wordnet可以完美安装

I faced same problem on Ubuntu. It got resolved machine when I uninstalled the latest version of Tcl (i was trying it with Tcl 8.6 first). And installed an older version of Tcl 8.4. With older version Wordnet installed flawlessly

这篇关于在OSX 10.8.5上编译WordNet 3.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆