Subject: | Doesn't install correctly - fails tests |
Chatbot::Alpha doesn't install correctly and fails in the testing stage. I am using Perl 5.8.7 on amd64 (Debian testing), but I have a Windows-using friend who has experienced the same problem, so I don't think it's arch-dependent.
Output after trying to install with the CPAN shell:
creating: Chatbot-Alpha-2.02/lib/Chatbot/Alpha/
inflating: Chatbot-Alpha-2.02/lib/Chatbot/Alpha/Sort.pm
inflating: Chatbot-Alpha-2.02/lib/Chatbot/Alpha/Syntax.pm
inflating: Chatbot-Alpha-2.02/lib/Chatbot/Alpha/Tutorial.pm
inflating: Chatbot-Alpha-2.02/Makefile.PL
inflating: Chatbot-Alpha-2.02/MANIFEST
inflating: Chatbot-Alpha-2.02/README
creating: Chatbot-Alpha-2.02/t/
inflating: Chatbot-Alpha-2.02/t/Chatbot-Alpha.t
inflating: Chatbot-Alpha-2.02/test.pl
inflating: Chatbot-Alpha-2.02/testreplies.txt
Removing previously used /home/scott/.cpan/build/Chatbot-Alpha-2.02
CPAN.pm: Going to build K/KI/KIRSLE/Chatbot-Alpha-2.02.zip
Checking if your kit is complete...
Looks good
Writing Makefile for Chatbot::Alpha
cp lib/Chatbot/Alpha.pm blib/lib/Chatbot/Alpha.pm
cp lib/Chatbot/Alpha/Syntax.pm blib/lib/Chatbot/Alpha/Syntax.pm
cp lib/Chatbot/Alpha/Tutorial.pm blib/lib/Chatbot/Alpha/Tutorial.pm
cp lib/Chatbot/Alpha/Sort.pm blib/lib/Chatbot/Alpha/Sort.pm
Manifying blib/man3/Chatbot::Alpha::Syntax.3pm
Manifying blib/man3/Chatbot::Alpha.3pm
Manifying blib/man3/Chatbot::Alpha::Sort.3pm
Manifying blib/man3/Chatbot::Alpha::Tutorial.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Chatbot-Alpha....ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.07 cusr + 0.01 csys = 0.08 CPU)
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
Chatbot::Alpha version 2.02
Alpha::Debug // loadFile called for file: ./testreplies.txt
Use of uninitialized value in substitution (s///) at lib/Chatbot/Alpha/Syntax.pm line 98.
Use of uninitialized value in substitution (s///) at lib/Chatbot/Alpha/Syntax.pm line 99.
Use of uninitialized value in length at lib/Chatbot/Alpha/Syntax.pm line 101.
+TRIGGERS must be lowercase alphanumeric while in 'strict' syntax at ./testreplies.txt line 4; at lib/Chatbot/Alpha/Syntax.pm line 136.
make: *** [test_dynamic] Error 9
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force