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.
Below is the error stack during 'make test':
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl
1..85
Uncaught exception from user code:
Uncaught exception from user code:
Uncaught exception from user code:
Uncaught exception from user code:
Uncaught exception from user code:
Uncaught exception from user code:
Uncaught exception from user code:
Can't locate Class/MethodMaker.pm in @INC (@INC contains: 'D:/My
Documents/Temp/SQL' blib/arch blib/lib /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503 /root/.cpanplus/build/SQL-Snippet-0.01/blib/lib
/root/.cpanplus/build/SQL-Snippet-0.01/blib/arch
/root/.cpanplus/build/Term-Interact-0.43/blib/lib
/root/.cpanplus/build/Term-Interact-0.43/blib/arch
/root/.cpanplus/build/Text-Autoformat-1.04/blib/lib
/root/.cpanplus/build/Text-Autoformat-1.04/blib/arch
/root/.cpanplus/build/Term-Interact-0.43/blib/lib
/root/.cpanplus/build/Term-Interact-0.43/blib/arch
/root/.cpanplus/build/SQL-Snippet-0.01/blib/lib
/root/.cpanplus/build/SQL-Snippet-0.01/blib/arch /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 .) at blib/lib/SQL/Snippet.pm line 765.
SQL::Snippet::Parm::BEGIN() called at Class/MethodMaker.pm line 765
eval {...} called at Class/MethodMaker.pm line 765
require SQL/Snippet.pm called at (eval 2) line 3
eval 'require SQL::Snippet
;' called at /usr/libdata/perl/5.00503/base.pm line 40
base::import('base', 'SQL::Snippet') called at
blib/lib/SQL/Snippet/ExampleRepository.pm line 3
SQL::Snippet::ExampleRepository::BEGIN() called at Class/MethodMaker.pm line
765
eval {...} called at Class/MethodMaker.pm line 765
require SQL/Snippet/ExampleRepository.pm called at test.pl line 13
main::BEGIN() called at Class/MethodMaker.pm line 765
eval {...} called at Class/MethodMaker.pm line 765
BEGIN failed--compilation aborted at blib/lib/SQL/Snippet.pm line 765.
require SQL/Snippet.pm called at (eval 2) line 3
eval 'require SQL::Snippet
;' called at /usr/libdata/perl/5.00503/base.pm line 40
base::import('base', 'SQL::Snippet') called at
blib/lib/SQL/Snippet/ExampleRepository.pm line 3
SQL::Snippet::ExampleRepository::BEGIN() called at blib/lib/SQL/Snippet.pm
line 765
eval {...} called at blib/lib/SQL/Snippet.pm line 765
require SQL/Snippet/ExampleRepository.pm called at test.pl line 13
main::BEGIN() called at blib/lib/SQL/Snippet.pm line 765
eval {...} called at blib/lib/SQL/Snippet.pm line 765
eval 'require SQL::Snippet
;' called at /usr/libdata/perl/5.00503/base.pm line 40
base::import('base', 'SQL::Snippet') called at
blib/lib/SQL/Snippet/ExampleRepository.pm line 3
SQL::Snippet::ExampleRepository::BEGIN() called at blib/lib/SQL/Snippet.pm
line 0
eval {...} called at blib/lib/SQL/Snippet.pm line 0
require SQL/Snippet/ExampleRepository.pm called at test.pl line 13
main::BEGIN() called at blib/lib/SQL/Snippet.pm line 0
eval {...} called at blib/lib/SQL/Snippet.pm line 0
...propagated at /usr/libdata/perl/5.00503/base.pm line 43.
base::import('base', 'SQL::Snippet') called at
blib/lib/SQL/Snippet/ExampleRepository.pm line 3
SQL::Snippet::ExampleRepository::BEGIN() called at
/usr/libdata/perl/5.00503/base.pm line 0
eval {...} called at /usr/libdata/perl/5.00503/base.pm line 0
require SQL/Snippet/ExampleRepository.pm called at test.pl line 13
main::BEGIN() called at /usr/libdata/perl/5.00503/base.pm line 0
eval {...} called at /usr/libdata/perl/5.00503/base.pm line 0
BEGIN failed--compilation aborted at blib/lib/SQL/Snippet/ExampleRepository.pm line 3.
require SQL/Snippet/ExampleRepository.pm called at test.pl line 13
main::BEGIN() called at blib/lib/SQL/Snippet/ExampleRepository.pm line 3
eval {...} called at blib/lib/SQL/Snippet/ExampleRepository.pm line 3
main::BEGIN() called at blib/lib/SQL/Snippet/ExampleRepository.pm line 13
eval {...} called at blib/lib/SQL/Snippet/ExampleRepository.pm line 13
BEGIN failed--compilation aborted at test.pl line 13.
*** Error code 2
Stop in /usr/home/smoke/.cpanplus500503/build/SQL-Snippet-0.01.
Additional comments:
Hello, Phil R Lawrence! Thanks for uploading your works to CPAN.
I noticed that the test suite seem to fail without these modules:
Class::MethodMaker
As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
Makefile.PL should solve this problem. For example:
WriteMakefile(
AUTHOR => 'Phil R Lawrence (prl ~AT~ cpan ~DOT~ org)',
... # other information
PREREQ_PM => {
'Class::MethodMaker' => '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! :-)
--
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=freebsd, osvers=4.0-current, archname=i386-freebsd
uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current #0: $Date$'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -lperl -lm '
libpth=/usr/lib
libs=-lm -lc -lcrypt
libc=, so=so, useshrplib=true, libperl=libperl.so.3
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/lib'
cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '