Problems installing DBD::Pg on Tru64 Unix !!!!

From: Milton Yutaka Nishiyama Junior <yutakajr(at)iq(dot)usp(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: Problems installing DBD::Pg on Tru64 Unix !!!!
Date: 2003-08-15 21:19:13
Message-ID: 20030815211913.GG8112@verjo18
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!


I wonder if you could help me with this DBD::Pg installation problem. I
successfully installed both perl 5.8.0 and DBI-1.32,
but somehow the 'make test' always fails as follow below. Basically the problems start when it can't load '.DBD-Pg-1.22/blib/arch/auto/DBD/Pg/Pg.so', and I can't figure out why.

bash-2.04# perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: dec_osf
Using DBI 1.37 installed in /usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/auto/DBI
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Pg

=======================


bash-2.04# make
cp dbd-pg.pod blib/lib/DBD/dbd-pg.pod
cp Pg.pm blib/lib/DBD/Pg.pm
/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap Pg.xs Pg.xsc && mv Pg.xsc Pg.c
cc -c -I/u1/postgresql-7.3.4/include/ -I/usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/auto/DBI -std -D_INTRINSICS -fprm d -ieee -DLANGUAGE_C -O4 -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" "-I/usr/local/lib/perl5/5.8.0/alpha-dec_osf/CORE" Pg.c
cc -c -I/u1/postgresql-7.3.4/include/ -I/usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/auto/DBI -std -D_INTRINSICS -fprm d -ieee -DLANGUAGE_C -O4 -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" "-I/usr/local/lib/perl5/5.8.0/alpha-dec_osf/CORE" dbdimp.c
cc: Warning: dbdimp.c, line 1487: In this statement, the referenced type of the pointer value "val" is "char", which is not compatible with "unsigned char". (ptrmismatch)
if (is_high_bit_set(val) && is_utf8_string(val, val_len))
---------------------------------------------------------------^
Running Mkbootstrap for DBD::Pg ()
chmod 644 Pg.bs
ar cr tmp.a Pg.o dbdimp.o
: tmp.a
rm -f blib/arch/auto/DBD/Pg/Pg.so
LD_RUN_PATH="/u1/postgresql-7.3.4/lib" ld -shared -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib -all tmp.a -none -o blib/arch/auto/DBD/Pg/Pg.so -L/u1/postgresql-7.3.4/lib/ -lpq
chmod 755 blib/arch/auto/DBD/Pg/Pg.so
cp Pg.bs blib/arch/auto/DBD/Pg/Pg.bs
chmod 644 blib/arch/auto/DBD/Pg/Pg.bs
Manifying blib/man3/DBD::dbd-pg.3
Manifying blib/man3/DBD::Pg.3


=======================

bash-2.04# make test
PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic...........Can't load '/.cpan/build/DBD-Pg-1.22/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: dlopen: cannot load /.cpan/build/DBD-Pg-1.22/blib/arch/auto/DBD/Pg/Pg.so at /usr/local/lib/perl5/5.8.0/alpha-dec_osf/DynaLoader.pm line 229.
at t/00basic.t line 4
Compilation failed in require at t/00basic.t line 4.
BEGIN failed--compilation aborted at t/00basic.t line 4.
t/00basic...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/01connect.........skipped
all skipped: cannot test without DB info
t/01constants.......Can't load '/.cpan/build/DBD-Pg-1.22/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: dlopen: cannot load /.cpan/build/DBD-Pg-1.22/blib/arch/auto/DBD/Pg/Pg.so at /usr/local/lib/perl5/5.8.0/alpha-dec_osf/DynaLoader.pm line 229.
at t/01constants.t line 4
Compilation failed in require at t/01constants.t line 4.
BEGIN failed--compilation aborted at t/01constants.t line 4.
# Looks like your test died before it could output anything.
t/01constants.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/01setup...........skipped
all skipped: cannot test without DB info
t/02prepare.........skipped
all skipped: cannot test without DB info
t/03bind............skipped
all skipped: cannot test without DB info
t/04execute.........skipped
all skipped: cannot test without DB info
t/05fetch...........skipped
all skipped: cannot test without DB info
t/06disconnect......skipped
all skipped: cannot test without DB info
t/07reuse...........skipped
all skipped: cannot test without DB info
t/08txn.............skipped
all skipped: cannot test without DB info
t/09autocommit......skipped
all skipped: cannot test without DB info
t/11quoting.........skipped
all skipped: cannot test without DB info
t/12placeholders....skipped
all skipped: cannot test without DB info
t/13pgtype..........skipped
all skipped: cannot test without DB info
t/15funct...........skipped
all skipped: cannot test without DB info
t/99cleanup.........skipped
all skipped: cannot test without DB info
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00basic.t 255 65280 ?? ?? % ??
t/01constants.t 255 65280 20 20 100.00% 1-20
15 tests skipped.
Failed 2/17 test scripts, 88.24% okay. 20/20 subtests failed, 0.00% okay.
*** Exit 2
Stop.


Really gratefull for your help!!!

Regards,

Milton Y. Nishiyama Jr.

=================================================
Milton Yutaka Nishiyama Jr.
Bioinformatics Group
Biochemistry Department, University of Sao Paulo
http://bioinfo.iq.usp.br/
Brazil
=================================================

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-08-15 22:17:33 Re: [GENERAL] 7.4Beta
Previous Message DeJuan Jackson 2003-08-15 21:02:22 [Fwd: Re: [PHP] PHP and COPY]