Re: Accepted ocamldbi 0.9.3.cvs.58-1 (i386 source)
On Wed, Jul 28, 2004 at 03:47:48PM -0400, John Goerzen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Format: 1.7
> Date: Wed, 28 Jul 2004 13:39:41 -0500
> Source: ocamldbi
> Binary: libdbi-ocaml libdbi-ocaml-dev
> Architecture: source i386
> Version: 0.9.3.cvs.58-1
> Distribution: unstable
> Urgency: low
> Maintainer: John Goerzen <jgoerzen@complete.org>
> Changed-By: John Goerzen <jgoerzen@complete.org>
> Description:
> libdbi-ocaml - Database Independent Interface (DBI) for Objective CAML, bytecode
> libdbi-ocaml-dev - Database Independent Interface (DBI) for Objective CAML, developm
> Changes:
> ocamldbi (0.9.3.cvs.58-1) unstable; urgency=low
> .
> * New upstream release.
> * Rebuilt for OCaml 3.08.
> * No longer build OCamlODBC driver; upstream doesn't support it well.
I am trying to build mod-caml from Richard Jones, and am having trouble
building it without all the ocamldbi backends included. The default upstream
mod-caml only uses postgresql, but building it fails with a message about
mysql. Adding the mysql stuff then fails with a similar message about perl :
-cclib "-fPIC -shared -L/usr/lib/ocaml/3.08/postgres -lpostgres -lpq
-L/usr/lib/ocaml/3.08/mysql -lcamlrun -ltermcap -lunix -lstr "
Error while linking /usr/lib/ocaml/3.08/dbi/dbi.cma(Dbi_perl):
Reference to undefined global `Perl'
make: *** [mod_caml.so] Erreur 2
I suppose i would have to add all the ocamldbi backends when linking. Is this
really what we want ? Is there not another more clean solution ?
And if they are all needed, should findlib not pull them in ?
Friendly,
Sven Luther
Reply to: