ocamlfind не намира пакет, инсталиран с godi

Опитах се да компилирам OMakefile с omake. Инсталирах всички необходими пакети с GODI. GODI ми показва тези пакети като инсталирани. Ocamlfind не намира всички тези пакети. С ocamlfind списък показва само някои.

Пакетите, които не намери, са: батерии и 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])

person Gens    schedule 16.01.2012    source източник


Отговори (1)


Използвате ли командата ocamlfind, предоставена от вашата инсталация на GODI? Предполагам, че използвате този, предоставен от Debian.

За да видите кой от тях използвате, стартирайте which ocamlfind. Ако върне /usr/bin/ocamlfind, тогава използвате Debian. За да използвате GODI, трябва да коригирате вашата променлива на средата PATH; за това поставете:

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

в напр. твоето ~/.bashrc.

Между другото, батериите и ocamlgraph се предлагат като пакет на Debian; може да искате първо да ги опитате.

person Stéphane Glondu    schedule 17.01.2012
comment
Обикновено използвам ocamlfind на GODI и PATH е зададен. Опитах ocamlfind на debian, без да задам PATH на GODI/bin. Резултатът и от двата ocamlfind е едно и също чудо. Ще направя резервно копие и ще пробвам пакетите на Debian. - person Gens; 17.01.2012
comment
Работи с пакета debian, но сега имам нужда от пакета bin_prot, който не е част от Debian. Някаква идея? - person Gens; 17.01.2012
comment
bin_prot е в Debian: packages.debian.org/search?keywords=libbin -prot-camlp4-dev - person Stéphane Glondu; 17.01.2012