From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id B26457F057 for ; Mon, 20 Oct 2014 17:25:52 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.04,756,1406584800"; d="scan'208";a="83967228" Received: from meleze.ens.fr (HELO [129.199.99.114]) ([129.199.99.114]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 20 Oct 2014 17:25:51 +0200 Message-ID: <5445297E.4000800@inria.fr> Date: Mon, 20 Oct 2014 17:25:50 +0200 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: caml-list@inria.fr References: <5445153E.7010203@gmx.net> <544518F1.4050907@inria.fr> <544519B6.6050007@gmx.net> <54451A2A.6010300@inria.fr> <54451FB0.3080303@gmx.net> <5445212C.5030102@coherentgraphics.co.uk> <544522A9.90407@gmx.net> <54452588.2060606@inria.fr> <544527F5.5080105@gmx.net> In-Reply-To: <544527F5.5080105@gmx.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Errors in installing 'lwt' On 10/20/2014 05:19 PM, Helmut Brandl wrote: > How do I install ocaml by opam? The command 'opam install ocaml' does > not work. opam switch 4.01.0 # just an example version eval `opam config env` # use it opam install lwt # your initial goal > What is the difference? My ocaml system works fine and I don't want to > compromise it because I need it. It won't be compromised in any way, opam will just ignore it. > Can 2 versions of ocaml coexist without any interference? That's one of the many goals of OPAM, I believe. OPAM's switch command allows you to "jump" between ocaml versions. > On 10/20/2014 10:08 AM, Francois Berenger wrote: >> As a workaround, I would recommend having a fresh ocaml installed by >> opam. >> >> It always work nicer in this way, in my experience (I use the ocaml >> installed by opam switching, not the one installed system-wide). >> >> On 10/20/2014 04:56 PM, Helmut Brandl wrote: >>> My platform is the 32bit version of the archlinux distribution on x86. I >>> have got the ocaml base installation and opam via the distribution and >>> tried to install packages via 'opam install ...'. >>> >>> Everything went fine until 'opam' tried to install 'lwt'. >>> >>> >>> >>> On 10/20/2014 09:50 AM, John Whitington wrote: >>>> Hi, >>>> >>>> Helmut Brandl wrote: >>>>> Does not work either. 'opam' reinstalls 'camlp4' without any problems >>>>> but then fails installing 'lwt'. >>>> >>>> You haven't mentioned what platform you're using. There's a known >>>> issue on OS X with 2.4.6, for example: >>>> >>>> https://github.com/ocsigen/lwt/issues/91 >>>> >>>> Thanks, >>>> >>> >> > > -- Regards, Francois.