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 B695F7EE49 for ; Mon, 25 Feb 2013 02:26:40 +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.175; 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.175 as permitted sender) identity=mailfrom; client-ip=134.160.33.175; 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.175 as permitted sender) identity=helo; client-ip=134.160.33.175; 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: Am0BAIq8KlGGoCGvmWdsb2JhbABFhk+7AYEnDgEBAQEBCAsLBxQngh8BAQQBIw8BBUAGCwsYAgIFFgsCAgkDAgECAUUTCAEBiAkGq2CRRYEjjTg6gi2BEwOIZ41WgR2EWI4G X-IPAS-Result: Am0BAIq8KlGGoCGvmWdsb2JhbABFhk+7AYEnDgEBAQEBCAsLBxQngh8BAQQBIw8BBUAGCwsYAgIFFgsCAgkDAgECAUUTCAEBiAkGq2CRRYEjjTg6gi2BEwOIZ41WgR2EWI4G X-IronPort-AV: E=Sophos;i="4.84,730,1355094000"; d="scan'208";a="4296768" Received: from postman3.riken.jp (HELO postman.riken.jp) ([134.160.33.175]) by mail2-smtp-roc.national.inria.fr with ESMTP; 25 Feb 2013 02:26:38 +0100 Received: from postman.riken.jp (postman3.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 66E0A3838084 for ; Mon, 25 Feb 2013 10:26:35 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id 00D083820255 for ; Mon, 25 Feb 2013 10:26:35 +0900 (JST) Message-ID: <512ABDCA.1020200@riken.jp> Date: Mon, 25 Feb 2013 10:26:34 +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> <20130225005039.GA8816@siouxsie> In-Reply-To: <20130225005039.GA8816@siouxsie> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.2.25.11538 Subject: Re: [Caml-list] Old and new OCaml installed on same machine? On 02/25/2013 09:50 AM, 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 > # exit-code 2 > # env-file /home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4/ocurl-1872ec.env > # stdout-file /home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4/ocurl-1872ec.out > # stderr-file /home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4/ocurl-1872ec.err > ### stdout ### > make[1]: Entering directory `/home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4' > make[1]: Leaving directory `/home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4' > make[1]: Entering directory `/home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4' > ocamlc.opt -c curl.mli -o curl.cmi > ocamlc.opt -c curl.ml -o curl.cmo > ocamlc.opt -c -ccopt "-DHAVE_CONFIG_H -Wall" curl-helper.c > make[1]: Leaving directory `/home/oliver/ocamlbrew/ocaml-4.00.1/.opam/4.00.1/build/ocurl.0.5.4' > ### stderr ### > ...[truncated] In the truncated part it says (at least on my machine) curl-helper.c:12:23: fatal error: curl/curl.h: No such file or directory Which means you need to install the system package that will install this file. Regards, F. > curl-helper.c:5460: error: for each function it appears in.) > curl-helper.c:5460: warning: type defaults to ‘int’ in declaration of ‘_curl_opt’ > curl-helper.c: In function ‘handleDnsServers’: > 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 > > 'opam install ocurl' failed. > oliver@siouxsie:~$ > =================================================================== > > > Ciao, > Oliver >