From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 9E1237EEAF for ; Tue, 15 Jan 2013 20:29:55 +0100 (CET) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of anil@recoil.org) identity=pra; client-ip=89.16.177.154; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="anil@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of anil@recoil.org) identity=mailfrom; client-ip=89.16.177.154; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="anil@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@dark.recoil.org) identity=helo; client-ip=89.16.177.154; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="anil@recoil.org"; x-sender="postmaster@dark.recoil.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsCAMut9VBZELGagWdsb2JhbABFqxOTCQ4BARYmJ4IeAQEEAW4LBQsLGA0hRRIGExKHdQMJCgioRIZxA4dqkFdhA5YMgRySIg X-IronPort-AV: E=Sophos;i="4.84,475,1355094000"; d="scan'208";a="168574948" Received: from recoil.dh.bytemark.co.uk (HELO dark.recoil.org) ([89.16.177.154]) by mail4-smtp-sop.national.inria.fr with SMTP; 15 Jan 2013 20:29:55 +0100 Received: (qmail 2158 invoked by uid 634); 15 Jan 2013 19:29:54 -0000 X-Spam-Level: * X-Spam-Check-By: dark.recoil.org Received: from volstagg-0.srg.cl.cam.ac.uk (HELO [10.0.0.83]) (128.232.32.232) (smtp-auth username remote@recoil.org, mechanism cram-md5) by dark.recoil.org (qpsmtpd/0.84) with ESMTPA; Tue, 15 Jan 2013 19:29:53 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) From: Anil Madhavapeddy In-Reply-To: Date: Tue, 15 Jan 2013 19:29:56 +0000 Cc: Alan Schmitt , Thomas Gazagnaire , OCaml mailing-list , Mirage List Content-Transfer-Encoding: 7bit Message-Id: <3587ADE7-1423-4AB0-B510-DD55092E506D@recoil.org> References: <6833F17C-B642-4ED9-8C8F-2665A9742845@ocamlpro.com> <3764589D-EC12-4CD5-A76F-A009BE2DDE8E@ocamlpro.com> To: Fabrice Le Fessant X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on dark.recoil.org Subject: 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//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 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 > 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 >