Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Francois Berenger <francois.berenger@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Errors in installing 'lwt'
Date: Mon, 20 Oct 2014 17:25:50 +0200	[thread overview]
Message-ID: <5445297E.4000800@inria.fr> (raw)
In-Reply-To: <544527F5.5080105@gmx.net>

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.

  reply	other threads:[~2014-10-20 15:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 13:59 Helmut Brandl
2014-10-20 14:14 ` Török Edwin
2014-10-20 15:06   ` helmut.brandl
2014-10-20 16:21     ` Török Edwin
2014-10-20 16:37       ` Helmut Brandl
2014-10-20 17:59         ` Török Edwin
2014-10-21  8:18           ` Nicolas Boulay
     [not found]             ` <54461AFF.9010407@inria.fr>
2014-10-21 20:55               ` Nicolas Boulay
2014-10-21 21:25                 ` Török Edwin
     [not found] ` <544518F1.4050907@inria.fr>
     [not found]   ` <544519B6.6050007@gmx.net>
     [not found]     ` <54451A2A.6010300@inria.fr>
2014-10-20 14:44       ` Helmut Brandl
2014-10-20 14:50         ` John Whitington
2014-10-20 14:56           ` Helmut Brandl
2014-10-20 15:03             ` Helmut Brandl
2014-10-20 15:08             ` Francois Berenger
2014-10-20 15:19               ` Helmut Brandl
2014-10-20 15:25                 ` Francois Berenger [this message]
2014-10-20 16:24                   ` Helmut Brandl
2014-10-20 16:50                     ` Marek Kubica
2014-10-20 15:30                 ` Daniel Bünzli

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=5445297E.4000800@inria.fr \
    --to=francois.berenger@inria.fr \
    --cc=caml-list@inria.fr \
    /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