2012-01-16 79 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

順便說一句,電池和ocamlgraph可作爲Debian軟件包;你可能想先嚐試一下。

+0

通常我使用ocamlfind的GODI和路徑設置。我嘗試了ocamlfind的debian,但沒有將我的PATH設置爲GODI/bin。兩個ocamlfind的輸出都是相同的* wonder *。我會做一個備份並嘗試Debian軟件包。 – Gens

+0

它適用於debian軟件包,但現在我需要軟件包bin_prot,它不是Debian的一部分。任何想法? – Gens

+0

bin_prot在Debian中:http://packages.debian.org/search?keywords=libbin-prot-camlp4-dev –

相關問題