2012-01-16 5 views
1

omakeでOMakefileをコンパイルしようとしました。 GODIで必要なパッケージをすべてインストールしました。 GODIには、これらのパッケージがインストールされていることが表示されます。 Ocamlfindはこれらのパッケージをすべて見つけられません。 ocamlfindリストでは、一部のみを表示します。ocamlfindがgodiとともにインストールされたパッケージを見つけられません

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

挨拶

スヴェン

[email protected]:/# 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]) 

答えて

1

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

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

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

あなたの~/.bashrc

ところで、バッテリーと電子写真はDebianパッケージとして入手できます。まずそれらを試してみてください。

+0

私はGODIのocamlfindを使用し、PATHが設定されています。私はGODI/binにPATHを設定せずにdebianのocamlfindを試しました。両方のocamlfindの出力は同じ* wonder *です。私はバックアップを行い、Debianパッケージを試します。 – Gens

+0

debianパッケージで動作しますが、今はDebianの一部ではないパッケージbin_protが必要です。何か案が? – Gens

+0

bin_protはDebianにあります:http://packages.debian.org/search?keywords=libbin-prot-camlp4-dev –

関連する問題