首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ocamlfind找不到随godi一起安装的包

ocamlfind找不到随godi一起安装的包
EN

Stack Overflow用户
提问于 2012-01-16 20:45:51
回答 1查看 2.1K关注 0票数 1

我试着用omake编译一个OMakefile。我用GODI安装了所有需要的包。GODI向我展示了安装后的这些包。Ocamlfind没有找到所有这些包。使用ocamlfind列表,它只显示一些。

它没有找到的包是:电池和ocamlgraph。有谁有办法解决这个问题。我的目标是使用别人创建的程序。

问候

斯文

代码语言:javascript
复制
    root@debian:/# ocamlfind list
    bigarray            (version: [distributed with Ocaml])
    camlp4              (version: [distributed with Ocaml])
    camlp4.exceptiontracer (version: [distributed with Ocaml])
    camlp4.extend       (version: [distributed with Ocaml])
    camlp4.foldgenerator (version: [distributed with Ocaml])
    camlp4.gramlib      (version: [distributed with Ocaml])
    camlp4.lib          (version: [distributed with Ocaml])
    camlp4.listcomprehension (version: [distributed with Ocaml])
    camlp4.locationstripper (version: [distributed with Ocaml])
    camlp4.macro        (version: [distributed with Ocaml])
    camlp4.mapgenerator (version: [distributed with Ocaml])
    camlp4.metagenerator (version: [distributed with Ocaml])
    camlp4.profiler     (version: [distributed with Ocaml])
    camlp4.quotations   (version: [distributed with Ocaml])
    camlp4.quotations.o (version: [distributed with Ocaml])
    camlp4.quotations.r (version: [distributed with Ocaml])
    camlp4.tracer       (version: [distributed with Ocaml])
    dbm                 (version: [distributed with Ocaml])
    dynlink             (version: [distributed with Ocaml])
    extlib              (version: 1.5)
    findlib             (version: 1.2.5)
    graphics            (version: [distributed with Ocaml])
    labltk              (version: [distributed with Ocaml])
    num                 (version: [distributed with Ocaml])
    num-top             (version: 1.2.5)
    num.core            (version: [internal])
    sexplib             (version: 4.2.16)
    sexplib.core        (version: n/a)
    sexplib.syntax      (version: n/a)
    sexplib.top         (version: n/a)
    stdlib              (version: [distributed with Ocaml])
    str                 (version: [distributed with Ocaml])
    threads             (version: [distributed with Ocaml])
    threads.posix       (version: [internal])
    threads.vm          (version: [internal])
    type-conv           (version: 1.7.1)
    type-conv.syntax    (version: 1.7.1)
    unix                (version: [distributed with Ocaml])
EN

回答 1

Stack Overflow用户

发布于 2012-01-17 17:00:34

您是否在使用GODI安装提供的ocamlfind命令?我的猜测是您使用的是Debian提供的。

要查看您使用的是哪一个,请运行which ocamlfind。如果它返回/usr/bin/ocamlfind,那么您使用的是Debian版本。要使用GODI one,您需要调整PATH环境变量;为此,将:

代码语言:javascript
复制
export PATH=/path/to/godi/bin:$PATH

例如在你的~/.bashrc中。

顺便说一下,电池和ocamlgraph以Debian包的形式提供;你可能想先试一试。

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

https://stackoverflow.com/questions/8880227

复制
相关文章

相似问题

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