I'm trying to install DBI::Pg-1.00  All goes well until testing, when I get 
the result below. It seems not to be able to connect to DBI. I'm running 
rh7.1 with postgresql 7.1.1, perl 5.6.1,
DBI-1.16. libpq.so's are in /usr/lib.

Any help appreciated.
jay

......
Configuring Pg
Remember to actually read the README file !
OS: linux
Using DBI 1.16 installed in 
/usr/lib/perl5/site_perl/i386-redhat-linux/5.6.1/auto/DBI
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Pg
cp Pg.pm blib/lib/DBD/Pg.pm
cp dbd-pg.pod blib/lib/DBD/dbd-pg.pod
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-redhat-linux 
-I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.6.1/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c
gcc -c -I/usr/include/pgsql 
-I/usr/lib/perl5/site_perl/i386-redhat-linux/5.6.1/auto/DBI 
-fno-strict-aliasing -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.00\" 
-DXS_VERSION=\"1.00\" -fPIC -I/usr/lib/perl5/5.6.1/i386-redhat-linux/CORE  
Pg.c
gcc -c -I/usr/include/pgsql 
-I/usr/lib/perl5/site_perl/i386-redhat-linux/5.6.1/auto/DBI 
-fno-strict-aliasing -O2 -march=i386 -mcpu=i686   -DVERSION=\"1.00\" 
-DXS_VERSION=\"1.00\" -fPIC -I/usr/lib/perl5/5.6.1/i386-redhat-linux/CORE  
dbdimp.cRunning Mkbootstrap for DBD::Pg ()
chmod 644 Pg.bs
rm -f blib/arch/auto/DBD/Pg/Pg.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib Pg.o dbdimp.o  -o 
blib/arch/auto/DB
D/Pg/Pg.so   -L/usr/lib/pgsql -lpq
chmod 755 blib/arch/auto/DBD/Pg/Pg.so
cp Pg.bs blib/arch/auto/DBD/Pg/Pg.bs
chmod 644 blib/arch/auto/DBD/Pg/Pg.bs
Manifying blib/man3/DBD::Pg.3pm
Manifying blib/man3/DBD::dbd-pg.3pm
/usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i386-redhat-linux -I/usr/lib/perl5/5.6.1 test.pl
OS: linux
Use of uninitialized value in join or string at test.pl line 53.
DBI->data_sources .......... not ok:
DBI->connect(dbname=template1) failed: connectDBStart() -- connect() failed:
No such file or directory at test.pl line 59
DBI->connect ............... not ok: connectDBStart() -- connect() failed:
No such file or directory at test.pl line 59.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


[root@localhost root]# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
   osname=linux, osvers=2.4.1-0.1.9, archname=i386-redhat-linux
   uname='linux localhost.localdomain 2.4.1-0.1.9 #1 wed feb 14 22:15:15
est 2001 i686 unknown '
   config_args='-des -Dcc=gcc -Darchname=i386-redhat-linux
-Dcccdlflags=-fPIC -Dprefix=/usr -Dscriptdir=/usr/bin
-Dsitelib=/usr/lib/perl5/site_perl -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dman3ext=3pm -Doptimize=-O2 -march=i386
-mcpu=i686 -Uusethreads -Uuselargefiles -Duseshrplib -Dd_dosuid
-Ud_setresuid -Ud_setresgid'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
   useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
   cc='gcc', ccflags ='-fno-strict-aliasing',
   optimize='-O2 -march=i386 -mcpu=i686',
   cppflags='-fno-strict-aliasing'
   ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-80)',
gccosandvers=''
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
   alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
   ld='gcc', ldflags =' -L/usr/local/lib'
   libpth=/usr/local/lib /lib /usr/lib
   libs=-lnsl -ldl -lm -lc -lcrypt -lutil
   perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
   libc=/lib/libc-2.2.2.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.6.1/i386-redhat-linux/CORE'
   cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options:
Built under linux
Compiled at Apr 15 2001 19:50:11
@INC:
   /usr/lib/perl5/5.6.1/i386-redhat-linux
   /usr/lib/perl5/5.6.1
   /usr/lib/perl5/site_perl/i386-redhat-linux/5.6.1
   /usr/lib/perl5/site_perl
   /usr/lib/perl5/site_perl/5.6.0
   /usr/lib/perl5/site_perl


Characteristics of this binary (from libperl):
Compile-time options:
Built under linux
Compiled at Apr 15 2001 19:50:11
@INC:
   /usr/lib/perl5/5.6.1/i386-redhat-linux
   /usr/lib/perl5/5.6.1
   /usr/lib/perl5/site_perl/i386-redhat-linux/5.6.1
   /usr/lib/perl5/site_perl
   /usr/lib/perl5/site_perl/5.6.0
   /usr/lib/perl5/site_perl
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to