Skip site navigation (1) Skip section navigation (2)

installation problems

From: danish <danish(dot)siddiqui(at)hovservices(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: installation problems
Date: 2006-05-13 13:04:10
Message-ID: 4465D94A.5050704@hovservices.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi,
Im trying to install network administration visulalized 
http://metanav.ntnu.no/moin.cgi/FrontPage . In their installation page 
they have mentioned to install pgsql_perl5-1.9.0 from CPAN by doing
#perl -MCPAN -e 'install Pg'
but I get the following errors
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 27 Jun 2005 05:58:10 GMT
Running install for module Pg
Running make for M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for 
/root/.cpan/sources/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz ok
Scanning cache /root/.cpan/build for sizes
pgsql_perl5-1.9.0/
pgsql_perl5-1.9.0/eg/
pgsql_perl5-1.9.0/eg/ApachePg.pl
pgsql_perl5-1.9.0/eg/example.pl
pgsql_perl5-1.9.0/eg/lo_demo.pl
pgsql_perl5-1.9.0/Changes
pgsql_perl5-1.9.0/MANIFEST
pgsql_perl5-1.9.0/Makefile.PL
pgsql_perl5-1.9.0/Pg.pm
pgsql_perl5-1.9.0/Pg.xs
pgsql_perl5-1.9.0/README
pgsql_perl5-1.9.0/test.pl
pgsql_perl5-1.9.0/typemap
Removing previously used /root/.cpan/build/pgsql_perl5-1.9.0

CPAN.pm: Going to build M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz

Configuring Pg
Remember to actually read the README file !
OS: linux
Checking if your kit is complete...
Looks good
Writing Makefile for Pg
cp Pg.pm blib/lib/Pg.pm
AutoSplitting blib/lib/Pg.pm (blib/lib/auto/Pg)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap 
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Pg.xs > Pg.xsc && 
mv Pg.xsc Pg.c
gcc -c -I/usr/local/pgsql/include -D_REENTRANT -D_GNU_SOURCE 
-fno-strict-aliasing -pipe -Wdeclaration-after-statement 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 
-march=i386 -mtune=generic -fasynchronous-unwind-tables 
-DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -fPIC 
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Pg.c
Pg.xs: In function ‘constant’:
Pg.xs:76: warning: label ‘not_there’ defined but not used
Pg.xs: In function ‘XS_Pg_conndefaults’:
Pg.xs:162: warning: suggest parentheses around assignment used as truth 
value
Running Mkbootstrap for Pg ()
chmod 644 Pg.bs
rm -f blib/arch/auto/Pg/Pg.so
gcc -shared -L/usr/local/lib Pg.o -o blib/arch/auto/Pg/Pg.so \
-L/usr/local/pgsql/lib -lpq \

chmod 755 blib/arch/auto/Pg/Pg.so
cp Pg.bs blib/arch/auto/Pg/Pg.bs
chmod 644 blib/arch/auto/Pg/Pg.bs
Manifying blib/man3/Pg.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
Can't call method "errorMessage" on an undefined value at test.pl line 99.
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

Please advise as to what to do....

Thanks
Danish

Responses

pgsql-interfaces by date

Next:From: Keary SuskaDate: 2006-05-15 16:31:00
Subject: Re: installation problems
Previous:From: Greg Sabino MullaneDate: 2006-05-08 13:25:38
Subject: DBD::Pg 1.49 released

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group