【问题标题】:Error while Installing Wordnet-3.0 on ubuntu: Can't find Tcl configuration definitions在 ubuntu 上安装 Wordnet-3.0 时出错:找不到 Tcl 配置定义
【发布时间】:2014-09-16 20:17:53
【问题描述】:

我下载了 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$ 

看来它已经安装了。 现在我检查了 tk。

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$ 

现在我在文件夹 WordNet-3.0 中并运行 ./配置
我收到如下错误:

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

有什么问题...?

【问题讨论】:

    标签: installation tcl tk ubuntu-14.04 wordnet


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-10-25
      • 1970-01-01
      • 1970-01-01
      • 2014-03-06
      • 2014-01-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多