Installation 在ubuntu上安装Wordnet-3.0时出错:Can';找不到Tcl配置定义

Installation 在ubuntu上安装Wordnet-3.0时出错:Can';找不到Tcl配置定义,installation,tcl,tk,ubuntu-14.04,wordnet,Installation,Tcl,Tk,Ubuntu 14.04,Wordnet,我下载了Wordnet-3.0,它说tcl和tk必须已经安装。 因此,我使用以下方法对此进行了检查: 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: Ubu

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

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$ 
checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions
问题是什么…?

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

我想您需要
tcl-dev
tk-dev
软件包,因为您不仅想使用tcl和tk,还想针对库编写代码。(因为Debian衍生发行版喜欢这样打包东西。)

checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions