DBD::Pg ->Error in 'make test' - Mailing list pgsql-interfaces

From Nitin Mule
Subject DBD::Pg ->Error in 'make test'
Date
Msg-id 36E2B2CC.848CF902@home.com
Whole thread Raw
List pgsql-interfaces
Hi all,

I'm new to PostgreSQL and DBI/DBD. I've installed DBI.pm(1.06) on a
Redhat 5.2 linux box. Now I'm trying to
install DBD::Pg(0.91) for PostgreSQL(6.3.2-10, comes bundled with Redhat
5.2).
I' using perl 5.004_04. I'm okay upto 'make' but when I do 'make test'
as a user "postgres", here's what I get:

<<<<<<<<<<<<<< Output of 'make test' >>>>>>>>>>>>>>>>>>>>>>>

PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib
-I/usr/lib/perl5/i386
-linux/5.00404 -I/usr/lib/perl5 test.pl
DBI->data_sources ........ ok
DBI::errstr .............. ok
DBI->connect ............. ok
$dbh->{Name} ............. ok
$dbh->ping ............... ok
$dbh->do ................. ok
NOTICE:  there is more than one operator < for types
NOTICE:  unknown and unknown. You will have to retype this query
DBD::Pg::db table_info failed: ERROR:  using an explicit cast
Can't call method "fetchrow_array" without a package or object reference
at test
.pl line 99.
Database handle destroyed without explicit disconnect.
Database handle destroyed without explicit disconnect.
make: *** [test_dynamic] Error 29

<<<<<<<<<<<<<<< End of output of 'make test' >>>>>>>>>>>>>>>>

My perl is:

<<<<<<<<<<<<<<< Start of output of 'perl -V' >>>>>>>>>>>>>>>>

Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
  Platform:
    osname=linux, osvers=2.0.34, archname=i386-linux
    uname='linux porky.redhat.com 2.0.34 #1 thu may 7 10:17:44 edt 1998
i686 unk
nown '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.7.2.3
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=undef, doublesize=undef
    alignbytes=4, 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'

<<<<<<<<<<<<<<< End of output of 'perl -V' >>>>>>>>>>>>>>>>


I posted this earlier to comp.lang.perl.modules but didn't get any
reply. Please help!


TIA, Nitin.

pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Counting updates with libpq
Next
From: James Thompson
Date:
Subject: Odd program behaviour