我正在尝试在值得信赖的 Ubuntu 上安装WordNet-3.0。
当我运行配置脚本时,我得到:
checking for Tcl configuration... configure: WARNING: Can't find Tcl
configuration definitions
这是一个警告,但配置在没有创建 makefile 的情况下停止了。
所以我下载并安装了tcl8.6.1,然后再次运行配置脚本,但我得到了:
checking for Tcl configuration... found /usr/local/lib/tclConfig.sh
checking for Tk configuration... configure: WARNING: Can't find Tk
configuration definitions
所以我下载并安装了 tk8.6.1,然后再次运行配置脚本,但警告消息仍然存在。
我在tkConfig.sh
中找到~/Downloads/tk8.6.1/unix/
,所以我将它复制到 /usr/local/lib,再次运行脚本,但我得到了:
checking for Tcl configuration... found /usr/local/lib/tclConfig.sh
checking for Tk configuration... found /usr/local/lib/tkConfig.sh
checking for existence of /usr/local/lib/tclConfig.sh... loading
checking for existence of /usr/local/lib/tkConfig.sh... loading
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating dict/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/pdf/Makefile
config.status: creating doc/ps/Makefile
config.status: creating include/Makefile
config.status: error: cannot find input file: `include/tk/Makefile.in'
我该怎么办?配置脚本是一个令人生畏的 5755 行长,我不敢修改它......