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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 9F76E7EE49 for ; Mon, 18 Feb 2013 08:43:12 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of berenger@riken.jp) identity=pra; client-ip=134.160.33.162; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of berenger@riken.jp designates 134.160.33.162 as permitted sender) identity=mailfrom; client-ip=134.160.33.162; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@postman.riken.jp designates 134.160.33.162 as permitted sender) identity=helo; client-ip=134.160.33.162; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="postmaster@postman.riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgcBAPzaIVGGoCGimWdsb2JhbABFhkm3AIJYgRoOAQEBAQEICwsHFCeCHwEBBSMVQBELGAICBRYLAgIJAwIBAgFFEwgBAYgOrTSRS4EjjhsWgheBEwOIZY1HhXGNfQ X-IPAS-Result: AgcBAPzaIVGGoCGimWdsb2JhbABFhkm3AIJYgRoOAQEBAQEICwsHFCeCHwEBBSMVQBELGAICBRYLAgIJAwIBAgFFEwgBAYgOrTSRS4EjjhsWgheBEwOIZY1HhXGNfQ X-IronPort-AV: E=Sophos;i="4.84,684,1355094000"; d="scan'208";a="3286485" Received: from postman2.riken.jp (HELO postman.riken.jp) ([134.160.33.162]) by mail2-smtp-roc.national.inria.fr with ESMTP; 18 Feb 2013 08:43:11 +0100 Received: from postman.riken.jp (postman2.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 73B561260501 for ; Mon, 18 Feb 2013 16:43:07 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id 381271270051 for ; Mon, 18 Feb 2013 16:43:07 +0900 (JST) Message-ID: <5121DB8B.7050003@riken.jp> Date: Mon, 18 Feb 2013 16:43:07 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: caml-list@inria.fr References: <20130218072233.GA15780@siouxsie> In-Reply-To: <20130218072233.GA15780@siouxsie> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.2.18.73021 Subject: Re: [Caml-list] Old and new OCaml installed on same machine? 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 >