[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#264859: FTBFS: Reference to undefined global `Postgres'



Richard, any hints on this?

Goswin, what versions of the following packages do you have:

ocaml-nox
libpostgresql-ocaml-dev
libpgsql-ocaml-dev

Thanks,
John

On Tue, Aug 10, 2004 at 07:43:36PM +0200, Goswin Brederlow wrote:
> Package: ocamldbi
> Version: 0.9.9-1
> Severity: serious
> Justification: no longer builds from source
> 
> Hi,
> 
> ocamldbi fails to build from source on alpha with:
> 
> 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'
> 
> MfG
> 	Goswin
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: alpha
> Kernel: Linux 2.6.8-rc3
> Locale: LANG=C, LC_CTYPE=C

> dpkg-buildpackage: source package is ocamldbi
> dpkg-buildpackage: source version is 0.9.9-1
> dpkg-buildpackage: host architecture is alpha
>  fakeroot debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp
> /usr/bin/make clean
> make[1]: Entering directory `/home/mrvn/ocamldbi/ocamldbi-0.9.9'
> rm -f *~ *.bak core *.o *.lo *.slo
> rm -f *.cmi *.cmo *.cmx *.cma *.so *.a
> rm -f META
> rm -rf html
> make[1]: Leaving directory `/home/mrvn/ocamldbi/ocamldbi-0.9.9'
> rm -rf html
> rm *.cm* .depend
> rm: cannot remove `*.cm*': No such file or directory
> make: [clean] Error 1 (ignored)
> dh_clean 
>  debian/rules build
> dh_testdir
> touch configure-stamp
> dh_testdir
> /usr/bin/make BUILD_OPT=`test \! -x /usr/bin/ocamlopt; echo $?` HAVE_MYSQL=1 HAVE_CAMLTEMPLATE=0 HAVE_PERL4CAML=1 HAVE_POSTGRES=1 HAVE_POSTGRESQL=1 HAVE_OCAMLODBC=0 HAVE_SQLITE=1 dep
> ocamlfind: Package `sqlite' not found
> ocamlfind: Package `sqlite' not found
> make[1]: Entering directory `/home/mrvn/ocamldbi/ocamldbi-0.9.9'
> rm -f .depend
> ocamldep dbi.mli dbi.ml dbi_postgres.ml dbi_postgresql.ml dbi_mysql.ml dbi_perl.ml dbi_sqlite.ml > .depend
> make[1]: Leaving directory `/home/mrvn/ocamldbi/ocamldbi-0.9.9'
> /usr/bin/make BUILD_OPT=`test \! -x /usr/bin/ocamlopt; echo $?` HAVE_MYSQL=1 HAVE_CAMLTEMPLATE=0 HAVE_PERL4CAML=1 HAVE_POSTGRES=1 HAVE_POSTGRESQL=1 HAVE_OCAMLODBC=0 HAVE_SQLITE=1
> ocamlfind: Package `sqlite' not found
> ocamlfind: Package `sqlite' not found
> make[1]: Entering directory `/home/mrvn/ocamldbi/ocamldbi-0.9.9'
> sed  -e 's/@PACKAGE@/ocamldbi/' \
> -e 's/@VERSION@/0.9.9/' \
> < META.in > META
> 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.mli
> 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.ml
> 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  -a dbi.cmo -o dbi.cma
> 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.mli
> 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'
> make: *** [build-stamp] Error 2



Reply to: