I downloaded DBI-1.37.tar.gz from CPAN, unpacked it, and built it with the usual steps:

% perl Makefile.PL PREFIX=$HOME && make test && make install

I added /opt/SUNWspro/bin (Sun Workshop Pro) to my PATH to get 'cc'; I think this is 
probably the same compiler Perl was built with but I can't be certain.  Anyway, it 
compiled and linked, and went on to run tests.  Two of them failed:

Failed Test       Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/15array.t                           34    1   2.94%  18
t/zz_15array_pp.t                     34    1   2.94%  18

I don't think the choice of compiler actually matters, since I also tried building 
with CC=gcc LD=gcc and got the same two tests failed.

Output of perl -V:

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos beta6.nyc.kbcfp.com 5.6 generic_105181-23 sun4u sparc sunw,ultra-60 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-I/usr/local/include -I/usr/local/gnu/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-I/usr/local/include -I/usr/local/gnu/include'
    ccversion='WorkShop Compilers 5.0 98/12/15 C 5.0', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-L/usr/local/lib -L/usr/local/gnu/lib '
    libpth=/usr/lib /usr/ccs/lib /usr/local/lib /usr/local/gnu/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib -L/usr/local/gnu/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Jan 22 2002 12:38:35
  %ENV:
    
PERL5LIB="/u/avised/lib/perl5/5.6.1:/u/avised/lib/perl5/site_perl/5.6.1:/u/avised/lib/perl5/site_perl/5.6.1/sun4-solaris:/u/avised/lib/perl5/site_perl:/prod/datatech/inferno/bin:/proj/fintech/inferno/perl/lib/perl5/site_perl/5.005/sun4-solaris"
  @INC:
    /u/avised/lib/perl5/5.6.1/sun4-solaris
    /u/avised/lib/perl5/5.6.1
    /u/avised/lib/perl5/site_perl/5.6.1/sun4-solaris
    /u/avised/lib/perl5/site_perl/5.6.1
    /u/avised/lib/perl5/site_perl/5.6.1/sun4-solaris
    /u/avised/lib/perl5/site_perl/5.6.1/sun4-solaris
    /u/avised/lib/perl5/site_perl/5.6.1
    /u/avised/lib/perl5/site_perl
    /prod/datatech/inferno/bin
    /proj/fintech/inferno/perl/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/pkgs/perl-5.6.1/lib/5.6.1/sun4-solaris
    /usr/local/pkgs/perl-5.6.1/lib/5.6.1
    /usr/local/pkgs/perl-5.6.1/lib/site_perl/5.6.1/sun4-solaris
    /usr/local/pkgs/perl-5.6.1/lib/site_perl/5.6.1
    /usr/local/pkgs/perl-5.6.1/lib/site_perl
    .


What should I do to diagnose the problem?  I didn't see any messages printed during 
the test suite apart from 'failed' stuff.

-- 
Ed Avis <[EMAIL PROTECTED]>

Reply via email to