AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 408589
Accepted
Katy Lin
Katy Lin
Asked: 2017-12-04 10:56:03 +0800 CST2017-12-04 10:56:03 +0800 CST 2017-12-04 10:56:03 +0800 CST

在 Linux 上安装 lablgtk

  • 772

您好,我正在运行 Linux Mint 18.2 并尝试为 Ocaml (4.05.0) 安装 lablgtk。在 README 中,findlib 1.2.1 是必需的,所以我尝试安装它。

当我尝试 ./configure for findlib 时,我收到两条消息:

labltk:不存在

camlp4:不存在

所以我下载了 camlp4,然后尝试下载 labltk。当我尝试 ./configure for labltk 时,我收到了消息:

配置 LablTk... 运行测试:gcc -O2 -fno-strict-aliasing -fwrapv

-D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst 未找到 tclversion.c -lm -ldl

gcc: 错误: 不是: 没有那个文件或目录

gcc: 错误: 找到: 没有这样的文件或目录

运行测试:gcc -O2 -fno-strict-aliasing -fwrapv

-D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/usr/local/include 未找到 tclversion.c -lm -ldl

gcc: 错误: 不是: 没有那个文件或目录

gcc: 错误: 找到: 没有这样的文件或目录

运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/opt/local/include not found tclversion.c -lm -ldl

gcc:错误:不:没有这样的文件或目录 gcc:错误:找到:没有这样的文件或目录

运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/sw/include not found tclversion.c -lm -ldl

gcc: 错误: 不是: 没有那个文件或目录

gcc: 错误: 找到: 没有这样的文件或目录

运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/usr/pkg/include not found tclversion.c -lm -ldl gcc: error: not: No such file or directory gcc: error: found: 没有这样的文件或目录错误:不:没有这样的文件或目录 gcc:错误:找到:没有这样的文件或目录/tcl8.6 -I/usr/local/include/tk8.6 not found tclversion.c -lm -ldl gcc: error: not: No such file or directory gcc: error: found: No such file or directory 运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/usr/include/tcl8.6 -I/usr/include/tk8.6 not found tclversion.c -lm -ldl gcc: error: not: No such file or directory gcc: error: found: No such file or directory 运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 - D_REENTRANT -o tst -I/usr/local/include/tcl8.5 -I/usr/local/include/tk8.5 not found tclversion.c -lm -ldl gcc: error: not: 没有这样的文件或目录 gcc:错误:找到:没有这样的文件或目录5 not found tclversion.c -lm -ldl gcc: error: not: No such file or directory gcc: error: found: No such file or directory 运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 - D_REENTRANT -o tst -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4 未找到 tclversion.c -lm -ldl gcc:错误:不是:没有这样的文件或目录 gcc:错误:找到:没有这样的文件或目录/usr/include/tk8.4 not found tclversion.c -lm -ldl gcc: error: not: No such file or directory gcc: error: found: No such file or directory 运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/usr/local/include/tcl8.3 -I/usr/local/include/tk8.3 未找到 tclversion.c -lm -ldl gcc:错误:不是:没有这样的文件或目录 gcc:错误:找到:没有这样的文件或目录/usr/include/tk8.3 not found tclversion.c -lm -ldl gcc: error: not: No such file or directory gcc: error: found: No such file or directory 运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/usr/local/include/tcl8.2 -I/usr/local/include/tk8.2 未找到 tclversion.c - lm -ldl gcc: error: not: No such file or directory gcc: error: found: No such file or directory 运行测试:gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o tst -I/ usr/include/tcl8.2 -I/usr/include/tk8.2 未找到 tclversion.c -lm -ldl

gcc: 错误: 不是: 没有那个文件或目录

gcc: 错误: 找到: 没有这样的文件或目录

找不到 tcl.h 和/或 tk.h。

** 配置摘要 **

“labltk”库:不支持

我检查了我的包管理器,我安装了 tcl、tk、tcl-dev 和 tk-dev 8.6.0+9。

我真的不知道接下来要尝试什么,但我需要 Ocaml 的 Gtk 接口。任何帮助表示赞赏。谢谢!

linux software-installation
  • 1 1 个回答
  • 279 Views

1 个回答

  • Voted
  1. Best Answer
    Mats Wichmann
    2017-12-04T11:46:25+08:002017-12-04T11:46:25+08:00

    您需要弄清楚是什么生成了“未找到”,它被插入命令行配置正在生成 - 这将是一些进一步缺失的依赖项。

    您是否尝试过使用所有这些的发行版打包版本?他们应该解决所有问题。Mint 有一些似乎适用的包,例如(不确定你在找什么):

    p   liblablgtk2-ocaml               - runtime libraries for OCaml bindings for G
    p   liblabltk-ocaml                 - OCaml bindings to Tcl/Tk (runtime librarie
    

    等等。

    • 0

相关问题

  • 有没有办法让 ls 只显示某些目录的隐藏文件?

  • 使用键盘快捷键启动/停止 systemd 服务 [关闭]

  • 需要一些系统调用

  • astyle 不会更改源文件格式

  • 通过标签将根文件系统传递给linux内核

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    JSON数组使用jq来bash变量

    • 4 个回答
  • Marko Smith

    日期可以为 GMT 时区格式化当前时间吗?[复制]

    • 2 个回答
  • Marko Smith

    bash + 通过 bash 脚本从文件中读取变量和值

    • 4 个回答
  • Marko Smith

    如何复制目录并在同一命令中重命名它?

    • 4 个回答
  • Marko Smith

    ssh 连接。X11 连接因身份验证错误而被拒绝

    • 3 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Marko Smith

    systemctl 命令在 RHEL 6 中不起作用

    • 3 个回答
  • Marko Smith

    rsync 端口 22 和 873 使用

    • 2 个回答
  • Marko Smith

    以 100% 的利用率捕捉 /dev/loop -- 没有可用空间

    • 1 个回答
  • Marko Smith

    jq 打印子对象中所有的键和值

    • 2 个回答
  • Martin Hope
    EHerman JSON数组使用jq来bash变量 2017-12-31 14:50:58 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST
  • Martin Hope
    Drux 日期可以为 GMT 时区格式化当前时间吗?[复制] 2017-12-26 11:35:07 +0800 CST
  • Martin Hope
    AllisonC 如何复制目录并在同一命令中重命名它? 2017-12-22 05:28:06 +0800 CST
  • Martin Hope
    Steve “root”用户的文件权限如何工作? 2017-12-22 02:46:01 +0800 CST
  • Martin Hope
    Bagas Sanjaya 为什么 Linux 使用 LF 作为换行符? 2017-12-20 05:48:21 +0800 CST
  • Martin Hope
    Cbhihe 将默认编辑器更改为 vim for _ sudo systemctl edit [unit-file] _ 2017-12-03 10:11:38 +0800 CST
  • Martin Hope
    showkey 如何下载软件包而不是使用 apt-get 命令安装它? 2017-12-03 02:15:02 +0800 CST
  • Martin Hope
    youxiao 为什么目录 /home、/usr、/var 等都具有相同的 inode 编号 (2)? 2017-12-02 05:33:41 +0800 CST
  • Martin Hope
    user223600 gpg —list-keys 命令在将私钥导入全新安装后输出 uid [未知] 2017-11-26 18:26:02 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve