Re: Bug#264859: FTBFS: Reference to undefined global `Postgres'
On Tue, Aug 10, 2004 at 01:15:13PM -0500, John Goerzen wrote:
> 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
> > > > 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.
I agree, but that's what the error says.
Perhaps the version of libpgsql-ocaml-dev doesn't match ocaml 3.08?
Basically there should be postgres.cmi, postgres.cma files in
/usr/lib/ocaml/3.08/postgres/ If not, that's why it fails.
Rich.
--
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
NET::FTPSERVER is a full-featured, secure, configurable, database-backed
FTP server written in Perl: http://www.annexia.org/freeware/netftpserver/
Reply to: