Help Needed: Problem building DBD::Pg on MDK 9.0 on an SMP host 
Author Message
 Help Needed: Problem building DBD::Pg on MDK 9.0 on an SMP host

Make test found a problem when installing DBD::Pg for MDK9.0 on an SMP
machine (see details below).  Tried emailing the address given in the
DBD::Pg module README, but the server bounced it back.

Can anyone help?

Thanks in advance,

Julio
==============================================================================
1. Preparation:

Of course, I defined (with the right password, and a real database)

DBDPG_MAINTAINER=1
DBDPG_TEST_HOST=localhost
DBDPG_TEST_DB=testdb
DBDPG_TEST_USER=postgres
DBDPG_TEST_PASS=*******

2. Failure:
As root
# perl -MCPAN -e 'install DBD::Pg'
...
(compilation details ommitted)
...
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" 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 29
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

3. Output of perl -v:

This is perl, v5.8.0 built for i386-linux-thread-multi

Copyright 1987-2002, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the GNU General Public License, which may be found in the Perl 5 source
kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.*-*-*.com/ , the Perl Home Page.

4. Output of perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.19-2mdkenterprise,
    archname=i386-linux-thread-multi uname='linux no.mandrakesoft.com
    2.4.19-2mdkenterprise #1 smp tue aug 13 00:17:42 cest 2002 i686
    unknown unknown gnulinux ' config_args='-des -Darchname=i386-linux
    -Dcc=gcc -Doptimize=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
    -march=i586 -ffast-math -fno-strength-reduce -Dprefix=/usr
    -Dvendorprefix=/usr -Dsiteprefix=/usr -Dman3ext=3pm

    -Dd_dosuid -Ud_csh -Duseshrplib -Dusethreads' hint=recommended,
    useposix=true, d_sigaction=define usethreads=define
    use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n,
    bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586
    -ffast-math -fno-strength-reduce', cppflags='-D_REENTRANT
    -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdbm' ccversion='',
    gccversion='3.2 (Mandrake Linux 9.0 3.2-1mdk)', 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, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib
    /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
    -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
  PERL_IMPLICIT_CONTEXT Built under linux
  Compiled at Sep  6 2002 23:24:44

    /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl

5. Version of PostgreSQL:
version 7.2.2 (rpm is: postgresql-7.2.2-1mdk)

Platform Details
OS:
Mandrake Linux 9.0 (dolphin)  i386, kernel 2.4.19-16mdksmp (fresh install)
HW:
Tyan Thunderbolt S1837UANG-L motherboard dual-CPU Pentium III 700 MHz),
512 MB RAM,
(9+9+18+18) GB hard drive (SCSI3)



Sun, 20 Mar 2005 20:13:47 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Need help building DBD::mysql on SCO 3.2v5.0.4

2. perl 4.036 vs. HP-UX 9.0 (help needed)

3. Interesting PERL Build Error on OSF/1 3.2c SMP

4. Pg.pm Perl module build problem on SunOS

5. problems with DBD::Pg v0.98

6. DynaLoader.pm problem with DBD:Pg

7. DBD-Pg-1.00 install problems

8. DBD-Pg-).98 install problem

9. Perl DBD:Pg problem

10. DBD::Pg make problem

11. Problem Installing DBD::Pg

12. Install problems DBD-Pg under 5.005

 

 
Powered by phpBB® Forum Software