在OSX 10.8.5上编译WordNet 3.0

时间:2013-09-14 09:49:17

标签: macos wordnet

我正在尝试让WordNet在我的笔记本上工作,但它在该过程的make步骤中失败如下:

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和命令行工具集都安装在当前版本中。

感谢您的帮助!

1 个答案:

答案 0 :(得分:0)

我在Ubuntu上面临同样的问题。当我卸载最新版本的Tcl时,它得到了解析机器(我首先尝试使用Tcl 8.6)。并安装了旧版本的Tcl 8.4。使用旧版Wordnet安装完美