Hi -I tried posting this to dbi-users as per the README, and they
suggested I try here. So here it goes...
I'm a new user to PostgreSQL and DBD::Pg and am having a problem
installing the latter. When I run the "make test" sequence, I get the
following result:
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503
test.pl
OS: linux
DBI->data_sources .......... ok
DBI->connect ............... ok
$dbh->{Name} ............... ok
$dbh->ping ................. ok
$dbh->do ................... ok
$dbh->table_info ........... ok
$dbh->tables ............... ok
Can't use an undefined value as an ARRAY reference at blib/lib/DBD/Pg.pm line 195.
Database handle destroyed without explicit disconnect.
Database handle destroyed without explicit disconnect.
make: *** [test_dynamic] Error 255
This looks to me like an error in the test, but what do I know.
Suggestions via email are welcome. Thanx in advance for your help.
Henry C. Schmitt
Additional details:
DBI version: 1.14
DBD-Pg version: 0.95
PostgreSQL version 7.0.2
uname -a: Linux cayenne 2.2.6-15apmac #1 Mon May 31 03:54:09 EDT 1999 ppc unknown
perl -v: This is perl, version 5.005_03 built for ppc-linux
Perl -V:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=linux, osvers=2.2.1,
archname=ppc-linux uname='linux speedy.linuxppc.org 2.2.1 #101 fri feb 5 16:17:12 est 1999 ppc unknown '
hint=recommended,useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc',
optimize='-O2',gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release) cppflags='-Dbool=char -DHAS_BOOL
-I/usr/local/include' ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include' stdchar='char', d_stdstdio=undef,
usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='
-L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=,so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl): Built under linux Compiled at Apr 19 1999 03:42:20 @INC:
/usr/lib/perl5/5.00503/ppc-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/ppc-linux
/usr/lib/perl5/site_perl/5.005 .