Received: from mail.rdc1.on.home.com (imail@ha1.rdc1.on.wave.home.com [24.2.9.66]) by hub.org (8.9.2/8.9.1) with ESMTP id MAA10236 for ; Sun, 7 Mar 1999 12:15:06 -0500 (EST) (envelope-from nmule@home.com) Received: from home.com ([24.112.179.164]) by mail.rdc1.on.home.com (InterMail v4.00.03 201-229-104) with ESMTP id <19990307171051.HQNW18874.mail.rdc1.on.home.com@home.com> for ; Sun, 7 Mar 1999 09:10:51 -0800 Message-ID: <36E2B2CC.848CF902@home.com> Date: Sun, 07 Mar 1999 12:09:32 -0500 From: Nitin Mule Organization: @Home Network X-Mailer: Mozilla 4.05 [en]C-AtHome0404 (Win95; U) MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: DBD::Pg ->Error in 'make test' Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.