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 [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
This is an error report generated automatically by CPANPLUS,
version 0.048.
Below is the error stack during '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/compile.............ok
t/examplep............ok
t/generate_sql........ok
t/internal_clone......ok
t/named_queries.......ok
t/record_accessors....ok
t/record_base.........ok
t/record_cache........Can't locate String/Escape.pm in @INC (@INC contains:
/root/.cpanplus/5.8.0/build/DBIx-SQLEngine-0.024/blib/lib
/root/.cpanplus/5.8.0/build/DBIx-SQLEngine-0.024/blib/arch
/usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0/i586-linux
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i586-linux /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . /usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/root/.cpanplus/5.8.0/build/DBIx-SQLEngine-0.024/blib/lib/DBIx/SQLEngine/Record/Trait/Cache.pm
line 67.
BEGIN failed--compilation aborted at
/root/.cpanplus/5.8.0/build/DBIx-SQLEngine-0.024/blib/lib/DBIx/SQLEngine/Record/Trait/Cache.pm
line 67.
Compilation failed in require at
/root/.cpanplus/5.8.0/build/DBIx-SQLEngine-0.024/blib/lib/DBIx/SQLEngine/Record/Class.pm
line 260.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-19
Failed 17/19 tests, 10.53% okay
t/record_extras.......ok
t/record_hooks........ok
t/table_objects.......ok
t/user_dsn............
Note: This test script can only be run if it can connect to a working DBI
database driver. Using that connection, this test script will create
a table named sqle_test, run various queries against it, and then drop it.
Although this should not affect other applications, for safety's sake, use
a test account or temporary data space, and avoid testing this on any
mission-critical production systems.
In order to run this test script against a local database, set the
DBI_DSN environment variable to your connection string before running the
tests, and if needed, also set the DBI_USER and DBI_PASS variables.
Example: > setenv DBI_DSN "DBI:mysql:test"; make test
If you are running individual test scripts, you can pass the DSN,
username, and password as command-line arguments to the test.
Example: > perl -Mblib t/user_dsn.t "DBI:mysql:test"
This script will now query DBI for available drivers and suggested DSNs:
Use of uninitialized value in pattern match (m//) at t/get_test_dsn.pl line 64.
Use of uninitialized value in pattern match (m//) at t/get_test_dsn.pl line 64.
Use of uninitialized value in pattern match (m//) at t/get_test_dsn.pl line 64.
Use of uninitialized value in pattern match (m//) at t/get_test_dsn.pl line 64.
Use of uninitialized value in substitution (s///) at t/get_test_dsn.pl line 65.
Use of uninitialized value in pattern match (m//) at t/get_test_dsn.pl line 66.
Use of uninitialized value in concatenation (.) or string at t/get_test_dsn.pl line 66.
dbi:mysql:test
dbi:Pg:
dbi:Pg:dbname=test
dbi:Sponge
dbi:SQLite:dbname=t/test_data/test.sqlite
ok
1/1 skipped: Skipping: specify DBI_DSN in environment to test your local
server.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/record_cache.t 2 512 19 34 178.95% 3-19
1 subtest skipped.
Failed 1/12 test scripts, 91.67% okay. 17/178 subtests failed, 90.45% okay.
make: *** [test_dynamic] Error 29
Additional comments:
Hello, Matthew Simon Cavalletto! Thanks for uploading your works to CPAN.
I noticed that the test suite seem to fail without these modules:
String::Escape
As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
Makefile.PL should solve this problem. For example:
WriteMakefile(
AUTHOR => 'Matthew Simon Cavalletto ([EMAIL PROTECTED])',
... # other information
PREREQ_PM => {
'String::Escape' => '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/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=linux, osvers=2.4.22-4tr, archname=i586-linux
uname='linux borgen.trustix.net 2.4.22-4tr #1 wed oct 29 17:17:31 cet 2003 i686
unknown unknown gnulinux '
config_args='-des -Doptimize=-O3 -fomit-frame-pointer -fno-exceptions -pipe -s
-mpentium -mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -Dcc=gcc
-Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dcf_by=Trustix
-Dmyhostname=localhost [EMAIL PROTECTED] -Darchname=i586-linux -Dd_dosuid
-Duselargefiles=n -Dd_semctl_semun -Ui_db -Di_gdbm -Dman3dir=/usr/share/man/man3
-Dman1dir=/usr/share/man/man1'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/include/gdbm',
optimize='-O3 -fomit-frame-pointer -fno-exceptions -pipe -s -mpentium
-mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations',
cppflags='-fno-strict-aliasing -I/usr/include/gdbm'
ccversion='', gccversion='3.3', 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=4
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'