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 151977F30A for ; Wed, 27 Feb 2013 02:28:26 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of oliver@first.in-berlin.de) identity=pra; client-ip=192.109.42.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="oliver@first.in-berlin.de"; x-sender="oliver@first.in-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of oliver@first.in-berlin.de) identity=mailfrom; client-ip=192.109.42.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="oliver@first.in-berlin.de"; x-sender="oliver@first.in-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@einhorn.in-berlin.de) identity=helo; client-ip=192.109.42.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="oliver@first.in-berlin.de"; x-sender="postmaster@einhorn.in-berlin.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnwEAMlgLVHAbSoIe2dsb2JhbABFhk+2EoUbgQMWDgEBFiYEI4IfAQEFIw8BRhALCQ8CAgUUDQICDwUYMYgmBKxnhFaNchWBDo00CjMHgi0yYQOOMYgOk2QO X-IPAS-Result: AnwEAMlgLVHAbSoIe2dsb2JhbABFhk+2EoUbgQMWDgEBFiYEI4IfAQEFIw8BRhALCQ8CAgUUDQICDwUYMYgmBKxnhFaNchWBDo00CjMHgi0yYQOOMYgOk2QO X-IronPort-AV: E=Sophos;i="4.84,744,1355094000"; d="scan'208";a="4624011" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Feb 2013 02:28:25 +0100 X-Envelope-From: oliver@first.in-berlin.de Received: from first (e178002249.adsl.alicedsl.de [85.178.2.249]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id r1R1SJQK012045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 27 Feb 2013 02:28:20 +0100 Received: by first (Postfix, from userid 1000) id 8D1E615400E6; Wed, 27 Feb 2013 02:28:19 +0100 (CET) Date: Wed, 27 Feb 2013 02:28:19 +0100 From: oliver To: Roberto Di Cosmo Cc: caml-list@inria.fr Message-ID: <20130227012819.GA10284@siouxsie> References: <20130218072233.GA15780@siouxsie> <20130225005039.GA8816@siouxsie> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130225005039.GA8816@siouxsie> User-Agent: Mutt/1.5.20 (2009-06-14) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: Re: [Caml-list] Old and new OCaml installed on same machine? On Mon, Feb 25, 2013 at 01:50:39AM +0100, oliver wrote: > Hello Roberto, > > > On Mon, Feb 18, 2013 at 08:34:35AM +0100, Roberto Di Cosmo wrote: > > Dear Oliver, > > just use the Opam package manager for OCaml and you will be fine. > [...] > > > Do you mean something like ths following?! > > > =================================================================== > oliver@siouxsie:~$ . ocamlbrew/ocaml-4.00.1/etc/ocamlbrew.bashrc > oliver@siouxsie:~$ opam install ocurl > The following actions will be performed: > - install ocurl.0.5.4 > 1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove > > =-=-= ocurl.0.5.4 =-=-= > The archive for ocurl.0.5.4 is in the local cache. > Extracting /home/oliver/ocamlbrew/ocaml-4.00.1/.opam/archives/ocurl.0.5.4+opam.tar.gz. > Building ocurl.0.5.4: > ./configure > make > make install > The compilation of ocurl.0.5.4 failed. > Uninstalling ocurl.0.5.4: > ocamlfind remove curl > > > ==== ERROR [while installing ocurl.0.5.4] ==== > # command make > # path /home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4 [...] [...] > curl-helper.c:5488: error: ‘CURLOPT_DNS_SERVERS’ undeclared (first use in this function) > curl-helper.c:5488: warning: type defaults to ‘int’ in declaration of ‘_curl_opt’ > curl-helper.c: At top level: > curl-helper.c:6119: error: ‘CURL_VERSION_TLSAUTH_SRP’ undeclared here (not in a function) > curl-helper.c:6120: error: ‘CURL_VERSION_NTLM_WB’ undeclared here (not in a function) > make[1]: *** [curl-helper.o] Error 2 > make: *** [all] Error 2 [...] This is solved now. There is a new package ocurl 0.5.5 and the problem can then be solved this way: $ opam update $ opam install ocurl Ciao, Oliver