> Well, here on the DBI list, we can help you with DBD::Pg, as it's the
> PostgreSQL DBI driver. But for pgperl, you'll have to ask the
> PostgreSQL folks.

Right-o. Below is my output trying to compile DBD::Pg.

My system:
Mac OS 10.2.2 server
Perl 5.8 compiled with thread support
PostgreSQL 7.2.3 in /usr/local/pgsql

My env:
[systame1:local/src/DBD-Pg-1.20] randy% env
USER=randy
LOGNAME=randy
HOME=/Users/randy
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
MAIL=/var/mail/randy
SHELL=/bin/tcsh
SSH_CLIENT=192.168.2.1 49204 22
SSH_TTY=/dev/ttyp1
TERM=vt100
HOSTTYPE=macintosh
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
SHLVL=1
PWD=/usr/local/src/DBD-Pg-1.20
GROUP=staff
HOST=systame1
REMOTEHOST=192.168.2.1
POSTGRES_INCLUDE=/usr/local/pgsql/include
POSTGRES_LIB=/usr/local/pgsql/lib:/usr/local/lib:/usr/lib
LC_ALL=C
LANG=en_US
LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/local/lib:/usr/lib


************
DBD::PG 1.13
************

Configuring Pg
Remember to actually read the README file !
OS: darwin
Multiple copies of Driver.xst found in:
/Library/Perl/darwin-thread-multi/auto/DBI
/Library/Perl/darwin-thread-multi/auto/DBI at Makefile.PL line 33
Using DBI 1.19 installed in /Library/Perl/darwin-thread-multi/auto/DBI
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lpq
Writing Makefile for DBD::Pg

[systame1:local/src/DBD-Pg-1.13] randy% make
cc -c  -I/usr/local/pgsql/include
-I/Library/Perl/darwin-thread-multi/auto/DBI -pipe -fno-common
-no-cpp-precomp -fno-strict-aliasing -O3   -DVERSION=\"1.13\"
-DXS_VERSION=\"1.13\"  "-I/Library/Perl/darwin-thread-multi/CORE"   Pg.c
cc -c  -I/usr/local/pgsql/include
-I/Library/Perl/darwin-thread-multi/auto/DBI -pipe -fno-common
-no-cpp-precomp -fno-strict-aliasing -O3   -DVERSION=\"1.13\"
-DXS_VERSION=\"1.13\"  "-I/Library/Perl/darwin-thread-multi/CORE"   dbdimp.c
dbdimp.c: In function `dbd_bind_ph':
dbdimp.c:1041: internal error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
{standard input}:1407:FATAL:.abort  detected.  Assembly stopping.
make: *** [dbdimp.o] Error 1


************
DBD::PG 1.20
************

Configuring Pg
Remember to actually read the README file !
OS: darwin
Using DBI 1.19 installed in /Library/Perl/darwin-thread-multi/auto/DBI
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lpq
Writing Makefile for DBD::Pg

[systame1:local/src/DBD-Pg-1.20] randy% make
cc -c  -I/usr/local/pgsql/include
-I/Library/Perl/darwin-thread-multi/auto/DBI -pipe -fno-common
-no-cpp-precomp -fno-strict-aliasing -O3   -DVERSION=\"1.20\"
-DXS_VERSION=\"1.20\"  "-I/Library/Perl/darwin-thread-multi/CORE"   Pg.c
cc -c  -I/usr/local/pgsql/include
-I/Library/Perl/darwin-thread-multi/auto/DBI -pipe -fno-common
-no-cpp-precomp -fno-strict-aliasing -O3   -DVERSION=\"1.20\"
-DXS_VERSION=\"1.20\"  "-I/Library/Perl/darwin-thread-multi/CORE"   dbdimp.c
dbdimp.c: In function `dbd_bind_ph':
dbdimp.c:1092: internal error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
{standard input}:1405:FATAL:.abort  detected.  Assembly stopping.
make: *** [dbdimp.o] Error 1



-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/


Reply via email to