1

omakeでOMakefileをコンパイルしてみました。必要なすべてのパッケージを GODI でインストールしました。GODI は、これらのパッケージがインストール済みであることを示しています。Ocamlfind は、これらのパッケージのすべてを見つけるわけではありません。ocamlfind list を使用すると、一部のみが表示されます。

見つからなかったパッケージは、バッテリーと ocamlgraph です。この問題を解決するアイデアはありますか。私の目標は、他の誰かが作成したプログラムを使用することです。

ご挨拶

スヴェン

    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])
4

1 に答える 1

1

GODI インストールで提供される ocamlfind コマンドを使用していますか? 私の推測では、Debian が提供するものを使用していると思います。

どちらを使用しているかを確認するには、 を実行しますwhich ocamlfind。が返され/usr/bin/ocamlfindた場合は、Debian を使用しています。GODI を使用するには、PATH環境変数を調整する必要があります。このために、次のように入力します。

export PATH=/path/to/godi/bin:$PATH

例えばあなたの~/.bashrc

ちなみに、バッテリーと ocamlgraph は Debian パッケージとして入手できます。最初にそれらを試してみることをお勧めします。

于 2012-01-17T09:00:34.190 に答える