Subject: | make test error on SunOS and Linux |
I am getting following error on SunOS and SUSE 9 iinux
Show quoted text
cpan> install Archive::SelfExtract
Running install for module Archive::SelfExtract
Running make for G/GR/GREGFAST/Archive-SelfExtract-1.3.tar.gz
Checksum for /root/.cpan/sources/authors/id/G/GR/GREGFAST/Archive-SelfExtract-1.3.tar.gz ok
Archive-SelfExtract-1.3/
Archive-SelfExtract-1.3/CHANGES
Archive-SelfExtract-1.3/sample/
Archive-SelfExtract-1.3/sample/test.zip
Archive-SelfExtract-1.3/sample/test-script.pl
Archive-SelfExtract-1.3/bin/
Archive-SelfExtract-1.3/bin/mkselfextract
Archive-SelfExtract-1.3/MANIFEST
Archive-SelfExtract-1.3/t/
Archive-SelfExtract-1.3/t/1.t
Archive-SelfExtract-1.3/lib/
Archive-SelfExtract-1.3/lib/Archive/
Archive-SelfExtract-1.3/lib/Archive/SelfExtract.pm
Archive-SelfExtract-1.3/Makefile.PL
Archive-SelfExtract-1.3/README
Removing previously used /root/.cpan/build/Archive-SelfExtract-1.3
CPAN.pm: Going to build G/GR/GREGFAST/Archive-SelfExtract-1.3.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Archive::SelfExtract
cp lib/Archive/SelfExtract.pm blib/lib/Archive/SelfExtract.pm
cp bin/mkselfextract blib/script/mkselfextract
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mkselfextract
Manifying blib/man1/mkselfextract.1
Manifying blib/man3/Archive::SelfExtract.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/1....ok 2/4error: file not seekable
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x835ecb4)','IO::Scalar=GLOB(0x835eeac)') called at /root/.cpan/build/Archive-SelfExtract-1.3/blib/lib/Archive/SelfExtract.pm line 127
Archive::SelfExtract::_extract('GLOB(0x84e17a0)') called at /tmp/8ZVfqXRzBl/test.pl line 6
require /tmp/8ZVfqXRzBl/test.pl called at t/1.t line 28
eval {...} called at t/1.t line 27
# Failed test (t/1.t at line 30)
t/1....NOK 4# Failed test (t/1.t at line 32)
# Looks like you failed 2 tests of 4.
t/1....dubious
Test returned status 2 (wstat 512, 0x200)
Scalar found where operator expected at (eval 153) line 1, near "'int' $__val"
(Missing operator before $__val?)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------------------------
t/1.t 2 512 4 2 50.00% 3-4
Failed 1/1 test scripts, 0.00% okay. 2/4 subtests failed, 50.00% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force