caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <berenger@riken.jp>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Old and new OCaml installed on same machine?
Date: Mon, 18 Feb 2013 16:43:07 +0900	[thread overview]
Message-ID: <5121DB8B.7050003@riken.jp> (raw)
In-Reply-To: <20130218072233.GA15780@siouxsie>

On 02/18/2013 04:22 PM, oliver wrote:
> Hello,
>
> any ideas on how to manage multiple OCaml-installations
> on one machine, without running into trouble?
>
> I have 3.11.2 here on my old Ubuntu box.
> I built OCaml 4.00, but stopped before the "make install",
> because on a target system (a server providing my web stuff)
> there also is 3.11.2 installed (older Debian system), and I'm
> not root at that system.
>
> But I want to compile my code there also.
> So I may need to develop in two branches for a while
> and do merges.
>
> When I remove my 3.11.2, the testing would need me to work
> on the remote machine, when testing the old-branch (the merges).
> Possible, but more effort (and network delays are annoying).
>
> Can more than one OCaml be installed and used in an easy way?
> Or should I forget this issue because of "mission impossible"
> or because of "that needs too much effort"?

I think you are looking for the opam -switch option.
It allows to "jump" from one version to another.

> (I use OCamlMakefile for building my stuff.)
>
> Any ideas on that?
>
>
> Ciao,
>     Oliver
>


      parent reply	other threads:[~2013-02-18  7:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18  7:22 oliver
2013-02-18  7:34 ` Roberto Di Cosmo
2013-02-18 14:16   ` oliver
2013-02-25  0:50   ` oliver
2013-02-25  1:26     ` Francois Berenger
2013-02-25  2:09       ` oliver
2013-02-25  8:07         ` Gabriel Kerneis
2013-02-25  9:03           ` Gabriel Scherer
2013-02-27  1:28     ` oliver
2013-02-18  7:43 ` Francois Berenger [this message]

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=5121DB8B.7050003@riken.jp \
    --to=berenger@riken.jp \
    --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;
as well as URLs for NNTP newsgroup(s).