From: Anil Madhavapeddy <anil@recoil.org>
To: Fabrice Le Fessant <fabrice@lefessant.net>
Cc: Alan Schmitt <alan.schmitt@polytechnique.org>,
Thomas Gazagnaire <thomas@ocamlpro.com>,
OCaml mailing-list <caml-list@inria.fr>,
Mirage List <cl-mirage@lists.cam.ac.uk>
Subject: Re: [Caml-list] Re: [ANN] beta-release of OPAM
Date: Tue, 15 Jan 2013 19:29:56 +0000 [thread overview]
Message-ID: <3587ADE7-1423-4AB0-B510-DD55092E506D@recoil.org> (raw)
In-Reply-To: <CAHvkLrMY6SQYg2Ao4-QtX8n=NsOa971Yrf4F81Wmus5aMagBXw@mail.gmail.com>
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@lefessant.net> 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@polytechnique.org> 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
>
next prev parent reply other threads:[~2013-01-15 19:29 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 15:40 [Caml-list] " Thomas Gazagnaire
2013-01-15 15:42 ` [Caml-list] " Anil Madhavapeddy
2013-01-15 16:17 ` Thomas Gazagnaire
2013-01-15 19:18 ` Alan Schmitt
2013-01-15 19:25 ` Fabrice Le Fessant
2013-01-15 19:29 ` Anil Madhavapeddy [this message]
2013-01-15 19:45 ` Roberto Di Cosmo
2013-01-15 21:12 ` Wojciech Meyer
2013-01-16 10:01 ` [Caml-list] " Anil Madhavapeddy
2013-01-16 10:08 ` Wojciech Meyer
2013-01-16 12:13 ` Gabriel Scherer
2013-01-16 14:43 ` Wojciech Meyer
2013-01-16 14:50 ` Gabriel Scherer
2013-01-16 17:27 ` Fabrice Le Fessant
2013-01-16 17:40 ` Thomas Gazagnaire
2013-01-16 17:46 ` Fabrice Le Fessant
2013-01-16 20:22 ` Roberto Di Cosmo
2013-01-15 20:02 ` [Caml-list] " Daniel Bünzli
2013-01-15 22:16 ` Thomas Gazagnaire
2013-01-15 17:45 ` [Caml-list] " Daniel Bünzli
2013-01-17 7:52 ` [Caml-list] " Sylvain Le Gall
2013-01-16 16:54 ` [Caml-list] " Mike Lin
2013-01-16 17:29 ` Daniel Bünzli
2013-01-17 17:15 ` Alain Frisch
2013-01-17 17:22 ` Anil Madhavapeddy
2013-01-18 10:31 ` Alain Frisch
2013-01-18 10:42 ` Anil Madhavapeddy
2013-01-18 10:46 ` Fabrice Le Fessant
2013-01-22 15:57 ` Thomas Gazagnaire
2013-01-18 11:19 ` Alain Frisch
2013-01-18 11:27 ` Anil Madhavapeddy
2013-01-18 16:23 ` Opam package publication (was Re: [Caml-list] [ANN] beta-release of OPAM) Daniel Bünzli
2013-01-19 9:07 ` Philippe Veber
2013-01-19 10:40 ` Daniel Bünzli
2013-01-22 15:46 ` Thomas Gazagnaire
2013-01-22 16:23 ` Daniel Bünzli
2013-01-22 16:48 ` Thomas Gazagnaire
2013-01-22 17:05 ` Daniel Bünzli
2013-01-22 16:35 ` Alain Frisch
2013-01-22 16:50 ` Fabrice Le Fessant
2013-01-22 16:53 ` Thomas Gazagnaire
2013-01-22 16:59 ` Daniel Bünzli
2013-01-22 18:03 ` Anil Madhavapeddy
2013-01-17 19:33 ` [Caml-list] Re: [ANN] beta-release of OPAM Hongbo Zhang
2013-01-18 12:18 ` [Caml-list] " aditya siram
2013-01-18 18:23 ` Thomas Gazagnaire
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3587ADE7-1423-4AB0-B510-DD55092E506D@recoil.org \
--to=anil@recoil.org \
--cc=alan.schmitt@polytechnique.org \
--cc=caml-list@inria.fr \
--cc=cl-mirage@lists.cam.ac.uk \
--cc=fabrice@lefessant.net \
--cc=thomas@ocamlpro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox