首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在ubuntu上安装Wordnet3.0时出错:找不到Tcl配置定义

在ubuntu上安装Wordnet3.0时出错:找不到Tcl配置定义
EN

Stack Overflow用户
提问于 2014-09-16 20:17:53
回答 1查看 4K关注 0票数 4

我下载了Wordnet-3.0,正如它所说的,tcl和tk必须已经安装好了。因此,我使用以下方法进行了检查:

代码语言:javascript
复制
vidyasagar@vidyasagar-ThinkPad-Edge-E431:~/Documents/NLP/WordNet-3.0$ dpkg -s tcl
Package: tcl
Status: install ok installed
Priority: optional
Section: interpreters
Installed-Size: 51
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Source: tcltk-defaults
Version: 8.6.0+6ubuntu3
Provides: tclsh
Depends: tcl8.6 (>= 8.6.0-2)
Breaks: tcl8.3 (<< 8.3.5-15), tcl8.4 (<< 8.4.20-2), tcl8.5 (<< 8.5.14-3), tcl8.6 8.6.0-2)
Conflicts: tcl-lib, tcl8.5-lib
Description: Tool Command Language (default version) - shell
 Tcl is a powerful, easy to use, embeddable, cross-platform interpreted
scripting language.
This package is a dependency package, which depends on Debian's default
 Tcl version (currently 8.6).
Original-Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-devel@lists.alioth.debian.org>
vidyasagar@vidyasagar-ThinkPad-Edge-E431:~/Documents/NLP/WordNet-3.0$ 

看来它已经安装好了。现在我查了一下。

代码语言:javascript
复制
vidyasagar@vidyasagar-ThinkPad-Edge-E431:~/Documents/NLP/WordNet-3.0$ dpkg -s tk
Package: tk
Status: install ok installed
Priority: optional
Section: interpreters
Installed-Size: 51
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Source: tcltk-defaults
Version: 8.6.0+6ubuntu3
Provides: wish
Depends: tk8.6 (>= 8.6.0-2), tcl
Breaks: tk8.3 (<< 8.3.5-16), tk8.4 (<< 8.4.20-2), tk8.5 (<< 8.5.14-3), tk8.6 (<< 8.6.0-2)
Conflicts: tk-lib, tk8.5-lib
Description: Toolkit for Tcl and X11 (default version) - windowing shell
 Tk is a cross-platform graphical toolkit which provides the Motif
look-and-feel and is implemented using the Tcl scripting language.
This package is a dependency package, which depends on Debian's default
 Tk version (currently 8.6).
Original-Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-devel@lists.alioth.debian.org>
vidyasagar@vidyasagar-ThinkPad-Edge-E431:~/Documents/NLP/WordNet-3.0$ 

现在我在WordNet3.0文件夹中运行./配置

我收到的错误如下:

代码语言:javascript
复制
checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions

有什么问题.?

EN

回答 1

Stack Overflow用户

发布于 2014-09-17 08:24:21

它找不到一个文件(称为tclConfig.sh),该文件准确地描述了如何设置编译器,以便能够访问它们安装位置中的Tcl头文件和库文件;查找它的位置是通过--with-tcl选项提供给WordNet configure脚本的。Tk (tkConfig.sh)也有一个等价的。

我猜您需要tcl-devtk-dev包,因为您不仅希望使用Tcl和Tk,还想针对库编写代码。(因为Debian派生的发行版就是这样打包东西的。)

票数 10
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25877689

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档