On Tue, Sep 02, 2008 at 10:58:52PM -0600, [EMAIL PROTECTED] wrote:
> 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
Orion,
I discussed this with Hez when implementing the cmake support for ocaml.
In my opinion a defaul build should have everything as a subdirectory of
the install tree prefix (CMAKE_INSTALL_PREFIX). What if you are
installing on a system without root access? What if you are testing
different versions? This is what we do for all other languages.
For packaging you are right - using "ocaml -where" is the correct thing
to do, but this is an issue for the packager.
Andrew
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel