Closed boegel closed 10 years ago
It seems like setting $OCAMLFIND_DESTDIR
does the trick, is that the right way to specify the installation prefix?
Yes, OCAMLFIND_DESTDIR should do the right thing. See "man findlib.conf" for configuring the environment for "ocamlfind".
@mmottl: so, what are the --prefix
and --destdir
configure options about then, it not to control the install prefix?
These flags are generated by Oasis, likely for the rare project that does not use ocamlfind for installation.
Shouldn't you be setting OCAMLFIND_DESTDIR
based on what is passed to them?
gsl-ocaml doesn't install any executables so the library installation will only depend on your OCAMLFIND_DESTDIR setting. If a package were installing executables, "make install" would consider the prefix you set.
I'm trying to install gsl-ocaml to a specific prefix, but whatever I do,
make install
is copying the files to my OCamlsite-lib
directory, rather than the installation prefix I passed toconfigure
. I've tried passing both--prefix
and--destdir
(not sure if they're different) toconfigure
, neither (nor both) works.Am I doing something wrong?