【问题标题】:Compiling WordNet 3.0 on OSX 10.8.5在 OSX 10.8.5 上编译 WordNet 3.0
【发布时间】:2013-09-14 09:49:17
【问题描述】:

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

WaldundWiesen 计算机:WordNet-3.0 Gnaddel$ make 使所有递归 在文档中制作所有内容 全部用 html 制作 make[3]: 'all' 无事可做。 尽在人中 make[3]: 'all' 无事可做。 全部制作成pdf make[3]: 'all' 无事可做。 一切尽在ps make[3]: 'all' 无事可做。 make[3]: 'all-am' 无事可做。 让一切尽在掌握 make[2]: 'all' 无事可做。 使一切都包括在内 一切尽在 tk make[3]: 'all' 无事可做。 make[3]: 'all-am' 无事可做。 在 lib 中制作所有内容 一切尽在 wnres make[3]: 'all' 无事可做。 make[3]: 'all-am' 无事可做。 全部在 src 如果 gcc -DHAVE_CONFIG_H -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 './'`存根.c; \ 然后 mv -f ".deps/wishwn-stubs.Tpo" ".deps/wishwn-stubs.Po";否则 rm -f ".deps/wishwn-stubs.Tpo"; 1号出口;菲 stubs.c:在函数“wn_findvalidsearches”中: stubs.c:43:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:55:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_bit”中: stubs.c:72:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:78:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_search”中: stubs.c:92:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:105:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_glosses”中: stubs.c:117:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_fileinfo”中: stubs.c:132:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_byteoffset”中: stubs.c:147:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_senseflag”中: stubs.c:162:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_contextualhelp”中: stubs.c:178:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:183:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_reopendb”中: stubs.c:193:错误:“Tcl_Interp”没有名为“result”的成员 stubs.c:在函数“wn_abortsearch”中: stubs.c:207:错误:“Tcl_Interp”没有名为“result”的成员 make[2]: *** [wishwn-stubs.o] 错误 1 make[1]: *** [all-recursive] 错误 1 make: *** [全部] 错误 2

XCode 和命令行工具集都安装在其当前版本中。

感谢您的帮助!

【问题讨论】:

  • 你安装了 Tcl/Tk 吗?
  • 问题是最新版本的 Tcl 已经放弃了 Tcl_Interp,而 WordNet 的人似乎不在这里。我试图找到一个解决方案。查看此错误报告:bugzilla.redhat.com/show_bug.cgi?id=902561
  • 我已经通过不自己编译而是使用预构建的包来“解决”我的问题。有 Ubuntu 包(名为“wordnet”)和 OSX 的 macports 包中的包(名为“wn”)。

标签: macos wordnet


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2018-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-09
    • 1970-01-01
    • 2012-01-17
    • 1970-01-01
    相关资源
    最近更新 更多