[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Caml-list] Re: [ANN] beta-release of OPAM



There is just one odd corner case that I've been trying to track down.

If you have ocamlfind installed in your system PATH, then the 
"ocamlbuild -use-ocamlfind" mode seems to pick that one up in preference
to the OPAM-installed ocamlfind (which sits in ~/.opam/<compiler>/bin, and
is also on the PATH).

I've not fixed that yet, but if you do run into odd bugs where an OPAM 
package fails to build due to not finding a library, then try uninstalling
your system findlib, and the OPAM one should be picked up.

This doesn't happen with OASIS ocamlfind invocations, but only with the
-use-ocamlfind mode of ocamlbuild.

-anil

On 15 Jan 2013, at 19:25, Fabrice Le Fessant <fabrice@xxxxxxxxxxxxx> wrote:

> OPAM installs everything in ~/.opam by default, so it won't pollute
> your current installation of OCaml. You have to use:
> 
> eval `opam config -env`
> 
> in a terminal to start using the version of OCaml installed by OPAM
> (you can put that in a .bashrc file, for example).
> 
> --Fabrice
> 
> On Tue, Jan 15, 2013 at 8:18 PM, Alan Schmitt
> <alan.schmitt@xxxxxxxxxxxxxxxxx> wrote:
>> Thomas Gazagnaire writes:
>> 
>>> To people already using OPAM, I forgot to mention that it is highly
>>> recommended to NOT upgrade opam using opam. The auto-update thing was
>>> a mistake at the first place. It is also advised to start from a fresh
>>> opam init. It should work if you don't, but it would definitely avoid
>>> some confusions in some corner-cases.
>> 
>> I'm thinking of trying it, but there was a bit of information I could
>> not find on the web page: where does OPAM puts the things it compiles?
>> Is it easy to just try it with an existing installation of ocaml &
>> libraries?
>> 
>> Thanks,
>> 
>> Alan
>> 
>> --
>> Caml-list mailing list.  Subscription management and archives:
>> https://sympa.inria.fr/sympa/arc/caml-list
>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
> 
> 
> -- 
> Fabrice LE FESSANT
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.