Looks like OCAML_INSTALL_DIR should be set to the output of "ocaml
-where".  This will allow for the differences in Debian and Fedora (and
other) install locations.

Debian guidelines:

1.3.2. OCaml Location

   The root of all installed OCaml libraries is the OCaml standard
   library directory, which is /usr/lib/ocaml/VERSION/, at the
   time of writing /usr/lib/ocaml/3.10.2. This location can be
   obtained from the OCaml compiler by invoking it as ocamlc
   -where.


Fedora:

%{_libdir}/ocaml/foolib

On x86_64:
mock-chroot> ocamlc -where
/usr/lib64/ocaml


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to