Hi.

I'm wondering if anyone has installed the DBD::Pg perl module on RedHat?
(RHEL) I'm having severe problems trying to get it to build.

I have PostgreSQL 8.2.4 installed from a package. The DBD::Pg install
requires pg_config from the development kit, so I've unpacked that and ran
gmake to build pg_config. But I still cannot get the make for DBD::Pg to run
- it crashes immediately with this:

$ make
gcc -c  -I/home/uals/kit/postgresql-8.2.4/src/include
-I/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/DBI
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/home/uals/kit/postgresql-8.2.4/src/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DPGLIBVERSION=80204
-DPGDEFPORT=5432 -O2 -g -pipe -m64  -DPERL_EXTMALLOC_DEF
-Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc
-Dcalloc=Perl_calloc -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC
"-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"   Pg.c
In file included from Pg.xs:14:
Pg.h:21:22: libpq-fe.h: No such file or directory
In file included from Pg.h:47,
                 from Pg.xs:14:
dbdimp.h:36: error: syntax error before "PGconn"
dbdimp.h:36: warning: no semicolon at end of struct or union
etc. for about another hundred error lines.

(This  was after I tinkered with the DBD::Pg Makefile to adjust the
erroneous paths provided by pg_config! Which made no difference.)

I am afraid that at this point I am stumped. Any clues as to what to try
next will be warmly welcomed.


Steve

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

-----------------------------------------------------------
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not the
intended recipient please notify the sender by reply email and immediately
delete this email. Use, disclosure or reproduction of this email by anyone
other than the intended recipient(s) is strictly prohibited. No
representation is made that this email or any attachments are free of
viruses. Virus scanning is recommended and is the responsibility of the
recipient.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to