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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 3C9137F30A for ; Thu, 28 Feb 2013 04:51:00 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of berenger@riken.jp) identity=pra; client-ip=134.160.33.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.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=mail3-smtp-sop.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 (mail3-smtp-sop.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=mail3-smtp-sop.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: AtwAAILQLlGGoCGvmWdsb2JhbABFwi+BEw4BAQEBAQgLCwcUJ4IfAQEFOEARCxgJFg8JAwIBAgFFEwgBAYgPwXKOYToWgyoDiGiNWYEehFiOCw X-IPAS-Result: AtwAAILQLlGGoCGvmWdsb2JhbABFwi+BEw4BAQEBAQgLCwcUJ4IfAQEFOEARCxgJFg8JAwIBAgFFEwgBAYgPwXKOYToWgyoDiGiNWYEehFiOCw X-IronPort-AV: E=Sophos;i="4.84,752,1355094000"; d="scan'208";a="3700274" Received: from postman3.riken.jp (HELO postman.riken.jp) ([134.160.33.175]) by mail3-smtp-sop.national.inria.fr with ESMTP; 28 Feb 2013 04:50:58 +0100 Received: from postman.riken.jp (postman3.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 2CF4F38380FC for ; Thu, 28 Feb 2013 12:50:54 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id 8B50238200F7 for ; Thu, 28 Feb 2013 12:50:53 +0900 (JST) Message-ID: <512ED41D.7080201@riken.jp> Date: Thu, 28 Feb 2013 12:50:53 +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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.2.28.34219 Subject: Re: [Caml-list] error installing sqlite3-ocaml with OPAM On 02/28/2013 12:14 PM, manu delab wrote: > Hello, > > I get the following error when trying to install sqlite3-ocaml: > > $ opam install sqlite3-ocaml > The following actions will be performed: > - install sqlite3-ocaml.2.0.4 > 1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove I guess you need to install the system package libsqlite3-dev first. > =-=-= Installing sqlite3-ocaml.2.0.4 =-=-= > The archive for sqlite3-ocaml.2.0.4 is in the local cache. > Extracting /Users/manu/.opam/archives/sqlite3-ocaml.2.0.4+opam.tar.gz. > Building sqlite3-ocaml.2.0.4: > ocaml setup.ml -configure > ocaml setup.ml -build > ocaml setup.ml -install > The compilation of sqlite3-ocaml.2.0.4 failed. > Uninstalling sqlite3-ocaml.2.0.4: > ocamlfind remove sqlite3 > > > ==== ERROR [while installing sqlite3-ocaml.2.0.4] ==== > # opam-version 0.9.4 > # os darwin > # command ocaml setup.ml -build > # path /Users/manu/.opam/system/build/sqlite3-ocaml.2.0.4 > # exit-code 1 > # env-file > /Users/manu/.opam/system/build/sqlite3-ocaml.2.0.4/sqlite3-ocaml-1872ec.env > # stdout-file > /Users/manu/.opam/system/build/sqlite3-ocaml.2.0.4/sqlite3-ocaml-1872ec.out > # stderr-file > /Users/manu/.opam/system/build/sqlite3-ocaml.2.0.4/sqlite3-ocaml-1872ec.err > ### stdout ### > /opt/local/bin/ocamlopt.opt -I /opt/local/lib/ocaml/ocamlbuild unix.cmxa > /opt/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml > /opt/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx > -o myocamlbuild > Failure: pkg-config failed for cflags. > ### stderr ### > Package sqlite3 was not found in the pkg-config search path. > Perhaps you should add the directory containing `sqlite3.pc' > to the PKG_CONFIG_PATH environment variable > No package 'sqlite3' found > E: Failure("Command ''/opt/local/bin/ocamlbuild' lib/libsqlite3_stubs.a > lib/dllsqlite3_stubs.so lib/sqlite3.cma lib/sqlite3.cmxa lib/sqlite3.a > lib/sqlite3.cmxs -tag debug' terminated with error code 2") > > 'opam install sqlite3-ocaml' failed. > > I am on OSX and I have the following installed with Macports: > sqlite3 @3.7.10_0 > sqlite3 @3.7.11_0 > sqlite3 @3.7.12.1_0 > sqlite3 @3.7.13_0+universal > sqlite3 @3.7.14_1+universal > sqlite3 @3.7.14.1_0+universal > sqlite3 @3.7.15.2_0 > sqlite3 @3.7.15.2_0+universal (active) > > Any idea ? Thanks > >