Re: Bug#264859: FTBFS: Reference to undefined global `Postgres'
John Goerzen <jgoerzen@complete.org> writes:
> On Tue, Aug 10, 2004 at 07:11:05PM +0100, Richard Jones wrote:
>> On Tue, Aug 10, 2004 at 01:06:14PM -0500, John Goerzen wrote:
>> > Richard, any hints on this?
>> >
>> > Goswin, what versions of the following packages do you have:
>> >
>> > ocaml-nox
>> > libpostgresql-ocaml-dev
>> > libpgsql-ocaml-dev
Declared Arch-dependent Build-Dependencies:
debhelper 4.2.17
libpcre-ocaml-dev 5.08.1-1
libpgsql-ocaml-dev 20040120-3
ocaml-findlib 1.0.4-2
ocaml-nox 3.08.0-2
libmysql-ocaml-dev 1.0.3-2
libperl4caml-ocaml-dev 0.3.10-1
libocamlodbc-ocaml-dev 2.8-1
libsqlite-ocaml-dev 0.3.5.arch.4-2
libpostgresql-ocaml-dev 1.3.3-2
>> > > ocamlc -g -I /usr/lib/ocaml/3.08/pcre -I /usr/lib/ocaml/3.08/postgres -I /usr/lib/ocaml/3.08/postgresql -I /usr/lib/ocaml/3.08/mysql -I /usr/lib/ocaml/3.08/perl -I -c dbi_postgres.ml
>> > > Error while linking dbi_postgres.cmo:
>> > > Reference to undefined global `Postgres'
>> > > make[1]: *** [dbi_postgres.cmo] Error 2
>> > > make[1]: Leaving directory `/home/mrvn/ocamldbi/ocamldbi-0.9.9'
>>
>> I mean this error must be down to missing the postgres.cmi file, ie,
>> missing the 'libpgsql-ocaml-dev' package.
>
> That shouldn't happen, since ocamldbi build-depends on
> libpgsql-ocaml-dev.
>
> -- John
Does this help?
ocamlfind: Package `sqlite' not found
ocamlfind: Package `sqlite' not found
Looks like the libsqlite-ocaml-dev package is broken.
Building current one and
Setting up libsqlite-ocaml (0.3.5.arch.4-3) ...
Setting up libsqlite-ocaml-dev (0.3.5.arch.4-3) ...
dpkg-deb: building package `libdbi-ocaml-dev' in `../libdbi-ocaml-dev_0.9.9-1_alpha.deb'.
dpkg-deb: building package `libdbi-ocaml' in `../libdbi-ocaml_0.9.9-1_alpha.deb'.
Now running lintian...
Finished running lintian.
Now it is fine. Looks like a missing versioned Build-Depends or
Build-Conflcts.
MfG
Goswin
Reply to: