caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Roberto Di Cosmo <roberto@dicosmo.org>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: Fabrice Le Fessant <fabrice@lefessant.net>,
	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 20:45:04 +0100	[thread overview]
Message-ID: <20130115194504.GA6280@voyager> (raw)
In-Reply-To: <3587ADE7-1423-4AB0-B510-DD55092E506D@recoil.org>

I can confirm this : on opam 0.8.3, this bug prevented me from
compiling properly a test code for Parmap.
It definitely needs to be fixed :-)

On Tue, Jan 15, 2013 at 07:29:56PM +0000, Anil Madhavapeddy wrote:
> 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
> > 
> 
> 
> -- 
> 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

-- 
Roberto Di Cosmo
 
------------------------------------------------------------------
Professeur               En delegation a l'INRIA
PPS                      E-mail: roberto@dicosmo.org
Universite Paris Diderot WWW  : http://www.dicosmo.org
Case 7014                Tel  : ++33-(0)1-57 27 92 20
5, Rue Thomas Mann       
F-75205 Paris Cedex 13   Identica: http://identi.ca/rdicosmo
FRANCE.                  Twitter: http://twitter.com/rdicosmo
------------------------------------------------------------------
Attachments:
MIME accepted, Word deprecated
      http://www.gnu.org/philosophy/no-word-attachments.html
------------------------------------------------------------------
Office location:
 
Bureau 6C08 (6th floor)
175, rue du Chevaleret, XIII
Metro Chevaleret, ligne 6
-----------------------------------------------------------------
GPG fingerprint 2931 20CE 3A5A 5390 98EC 8BFC FCCA C3BE 39CB 12D3                        

  reply	other threads:[~2013-01-15 19:45 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
2013-01-15 19:45           ` Roberto Di Cosmo [this message]
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=20130115194504.GA6280@voyager \
    --to=roberto@dicosmo.org \
    --cc=alan.schmitt@polytechnique.org \
    --cc=anil@recoil.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;
as well as URLs for NNTP newsgroup(s).