caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] error installing sqlite3-ocaml with OPAM
@ 2013-02-28  3:14 manu delab
  2013-02-28  3:50 ` Francois Berenger
  2013-02-28  9:19 ` Frédéric Bour
  0 siblings, 2 replies; 3+ messages in thread
From: manu delab @ 2013-02-28  3:14 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 2147 bytes --]

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

=-=-= 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

[-- Attachment #2: Type: text/html, Size: 3071 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-28  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-28  3:14 [Caml-list] error installing sqlite3-ocaml with OPAM manu delab
2013-02-28  3:50 ` Francois Berenger
2013-02-28  9:19 ` Frédéric Bour

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).