I am having an issue testing the DBD-PG 1.13 code on my system and I could
use some help.
I am runing this version of SuSE Linux on a Dual Proc 933 w/ 1GB RAM:
Linux bigsky 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC 2002 i686
unknown
I seem to be able to compile fine, but when I run a make test I get an error
on t/04execute(see below). Is this a known bug, or Am I just supposed to
ignore it? I have seen other postings that have the same error, but no one
seems to reply to them....
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i586-linux -I/usr/lib/perl5/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00basic...........ok
t/01connect.........ok
t/01setup...........ok
t/02prepare.........ok
t/03bind............ok
t/04execute.........FAILED tests 5-7
Failed 3/10 tests, 70.00% okay
t/05fetch...........ok
t/06disconnect......ok
t/07reuse...........ok
t/08txn.............ok
t/09autocommit......ok
t/10transition......ok
t/11quoting.........ok
t/12placeholders....ok
t/13pgtype..........ok
t/99cleanup.........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
t/04execute.t 10 3 30.00% 5-7
Failed 1/16 test scripts, 93.75% okay. 3/104 subtests failed, 97.12% okay.
make: *** [test_dynamic] Error 11
I tried this as both progress and root to make sure it wasn't a permissions
issue.
I am not familiar enough with Perl to debug the code myself. Can you
provide any insight as to why this may be happening? Should I just ignore
it?
I can remotely connect to the database using the test login and password I
provide and it seems to work fine. I gave the test login in Postgres
superuser permissions just to test and that didn't seem to make a
difference.
Any help here would be great. I am pulling my hair out trying to figure
this out. I am sure it is something dumb, but I don't know what.
Here is my Progress and Module info:
------------ Progress and Module Begin ---------------------
postgres (PostgreSQL) 7.2
DBD-Pg Module version: 1.13
DBI Module version: 1.25
------------ Progress and Module End -----------------------
Here is my Perl info:
---------------------Perl Begin ----------------------------------------
This is perl, v5.6.1 built for i586-linux
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.17, archname=i586-linux
uname='linux d4 2.4.17 #1 smp thu mar 21 21:29:30 utc 2002 i686 unknown
'
config_args='-ds -e -Dprefix=/usr -Di_db -Di_dbm -Di_ndbm -Di_gdbm
-Duseshrplib=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2 -pipe',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='2.95.3 20010315 (SuSE)', 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=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=, 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/i586-linux/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Mar 23 2002 17:40:12
@INC:
/usr/lib/perl5/5.6.1/i586-linux
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i586-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl
.
--------------------- Perl End --------------------------------------------
Thanx!
J. Gregory Davis
Western Electronics LLC
(208) 955-9731
1551 South Tech Lane
Meridian, ID 83642