develooper Front page | perl.cpan.testers | Postings from May 2003

FAIL DBedit-1.96 sun4-solaris 2.8

From:
Josts Smokehouse
Date:
May 24, 2003 07:30
Subject:
FAIL DBedit-1.96 sun4-solaris 2.8
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible.  See
http://testers.cpan.org/

Please cc any replies to cpan-testers@perl.org to keep other
test volunteers informed and to prevent any duplicate effort.
	
--
This is an error report generated automatically by CPANPLUS,
version 0.042.

Below is the error stack during 'make test':

PERL_DL_NONLAZY=1 /usr/local/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/dbstorage_dbi....Can't exec "createdb": No such file or directory at t/dbstorage_dbi.t line 9.
install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains: /var/www/lib /net/sunu991/disc1/.cpanplus/5.8.0/build/DBedit-1.96/blib/lib /net/sunu991/disc1/.cpanplus/5.8.0/build/DBedit-1.96/blib/arch /usr/local/perl/lib/5.8.0/sun4-solaris /usr/local/perl/lib/5.8.0 /usr/local/perl/lib/site_perl/5.8.0/sun4-solaris /usr/local/perl/lib/site_perl/5.8.0 /usr/local/perl/lib/site_perl/5.6.1/sun4-solaris /usr/local/perl/lib/site_perl/5.6.1 /usr/local/perl/lib/site_perl/5.6.0/sun4-solaris /usr/local/perl/lib/site_perl/5.6.0 /usr/local/perl/lib/site_perl .) at (eval 1) line 3.
Perhaps the DBD::Pg perl module hasn't been fully installed,
or perhaps the capitalisation of 'Pg' isn't right.
Available drivers: ADO, AnyData, CSV, ExampleP, Excel, File, JDBC, Multiplex, Ovrimos, Proxy, RAM, SQLRelay, SQLite, XBase.
 at /net/sunu991/disc1/.cpanplus/5.8.0/build/DBedit-1.96/blib/lib/DBstorage/DBI.pm line 32
	(in cleanup) Can't call method "disconnect" on an undefined value at /net/sunu991/disc1/.cpanplus/5.8.0/build/DBedit-1.96/blib/lib/DBstorage/DBI.pm line 39.
# Looks like your test died before it could output anything.
dubious
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
	Failed 4/4 tests, 0.00% okay
t/dbstorage_rdb...."my" variable $fh masks earlier declaration in same scope at t/dbstorage_rdb.t line 35.
"my" variable $dbh masks earlier declaration in same scope at t/dbstorage_rdb.t line 44.
"my" variable %f masks earlier declaration in same scope at t/dbstorage_rdb.t line 45.
test1.rdb.19984,v  <--  test1.rdb.19984
initial revision: 1.1
done
ok
Failed Test       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/dbstorage_dbi.t  255 65280     4    8 200.00%  1-4
Failed 1/2 test scripts, 50.00% okay. 4/12 subtests failed, 66.67% okay.
make: *** [test_dynamic] Error 29


Additional comments:

Hello, Joseph Wang! Thanks for uploading your works to CPAN.

I noticed that the test suite seem to fail without these modules:

DBD::Pg

As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
Makefile.PL should solve this problem.  For example:

WriteMakefile(
    AUTHOR      => 'Joseph Wang (gna@gnacademy.org)',
    ... # other information
    PREREQ_PM   => {
	'DBD::Pg'	=> '0', # or a minimum workable version
    }
);

If you are interested in making a more flexible Makefile.PL that can
probe for missing dependencies and install them, ExtUtils::AutoInstall
at <http://search.cpan.org/search?dist=ExtUtils-AutoInstall> may be
worth a look.

Thanks! :-)

******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender.  Also, because many people perform automatic
tests on CPAN, chances are that you will receive identical messages
about the same problem.

If you believe that the message is mistaken, please reply to the first
one with correction and/or additional information, and do not take
it personally.  We appreciate your patience. :)
**********************************************************************


--

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos sunu991 5.8 generic_108528-14 sun4u sparc '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.0', gccosandvers='solaris2.8'
    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, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About