Good Day Monks!
I am trying to install the PAR::Packer module instead of paying IndigoStar for perl2exe, but I am running into issues that have me stumped. Any advice you could render would be much appreciated. Thanks!
Here is my version of PERL:
This is perl 5, version 12, subversion 1 (v5.12.1) built for sun4-sola
+ris-64
Copyright 1987-2010, Larry Wall
Perl may be copied only under the terms of either the Artistic License
+ or the
GNU General Public License, which may be found in the Perl 5 source ki
+t.
Complete documentation for Perl, including FAQ lists, should be found
+on
this system using "man perl" or "perldoc perl". If you have access to
+ the
Internet, point your browser at http://www.perl.org/, the Perl Home Pa
+ge.
Below is the output from CPAN:
cpan[1]> install pp
Going to read '/export/home/ncoadmin/.cpan/Metadata'
Database was generated on Fri, 24 Sep 2010 05:32:42 GMT
Running install for module 'pp'
Running make for R/RS/RSCHUPP/PAR-Packer-1.007.tar.gz
Checksum for /export/home/ncoadmin/.cpan/sources/authors/id/R/RS/RSCHU
+PP/PAR-Packer-1.007.tar.gz ok
Scanning cache /export/home/ncoadmin/.cpan/build for sizes
......................................................................
+..----DONE
DEL(1/3): /export/home/ncoadmin/.cpan/build/POE-1.293-eEwdB9
DEL(2/3): /export/home/ncoadmin/.cpan/build/IO-Tty-1.08-otSgQ4
DEL(3/3): /export/home/ncoadmin/.cpan/build/tmp-11878
CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.007.tar.gz
*** You have extra Perl library paths set in your environment.
Please note that these paths (set with PERL5LIB or PERLLIB)
are not honored by perl when running under taint mode, which
may lead to problems. This is a limitation (by design) of
Perl, not of PAR::Packer; but some of the problems may
manifest here during installation.
Fetching 'PAR-Packer-1.007-sun4-solaris-64-5.12.1.par' from ftp.cpan.o
+rg... Fetching failed: Can't call method "login" on an undefined valu
+e at inc/Module/Install/Fetch.pm line 45.
No compiler found, won't generate 'script/parl'!
Checking if your kit is complete...
Looks good
Writing Makefile for PAR::Packer
cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm
cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.pm
cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm
cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm
cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm
cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm
cp lib/PAR/StrippedPARL/Dynamic.pm blib/lib/PAR/StrippedPARL/Dynamic.p
+m
cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm
cp lib/pp.pm blib/lib/pp.pm
cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm
cp lib/PAR/StrippedPARL/Static.pm blib/lib/PAR/StrippedPARL/Static.pm
cp script/tkpp blib/script/tkpp
/usr/local/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- bl
+ib/script/tkpp
cp script/pp blib/script/pp
/usr/local/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- bl
+ib/script/pp
cp script/par.pl blib/script/par.pl
/usr/local/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- bl
+ib/script/par.pl
Manifying blib/man1/tkpp.1
Manifying blib/man1/pp.1
Manifying blib/man1/par.pl.1
Manifying blib/man3/App::Packer::PAR.3
Manifying blib/man3/PAR::Filter::Obfuscate.3
Manifying blib/man3/PAR::Filter::PodStrip.3
Manifying blib/man3/PAR::StrippedPARL::Base.3
Manifying blib/man3/PAR::Packer.3
Manifying blib/man3/PAR::Filter.3
Manifying blib/man3/PAR::Filter::PatchContent.3
Manifying blib/man3/PAR::StrippedPARL::Dynamic.3
Manifying blib/man3/PAR::Filter::Bytecode.3
Manifying blib/man3/pp.3
Manifying blib/man3/PAR::Filter::Bleach.3
Manifying blib/man3/PAR::StrippedPARL::Static.3
RSCHUPP/PAR-Packer-1.007.tar.gz
/usr/sfw/bin/gmake -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "
+test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-pod.t t/20-pp.t
+ t/30-current_exec.t t/40-packer_cd_option.t t/90-rt59710.t
t/00-pod.t ............... skipped: Set environment variable PERL_TEST
+_POD=1 to test POD
t/20-pp.t ................ skipped: 'parl' not found
t/30-current_exec.t ...... # Please wait
PAR::StrippedPARL::Static->get_raw() did not return the raw binary dat
+a for a PAR loader at blib/lib/PAR/StrippedPARL/Base.pm line 141, <DA
+TA> line 1.
Could not write temporary parl (class PAR::StrippedPARL::Static) to fi
+le '/tmp/parlSxmT' at blib/lib/PAR/StrippedPARL/Base.pm line 65, <DAT
+A> line 1.
/export/home/ncoadmin/.cpan/build/PAR-Packer-1.007-GiSJFV/t/../blib/sc
+ript/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to
+ file 'parlSVI0Uk3' at blib/lib/PAR/Packer.pm line 1172, <DATA> line
+1.
t/30-current_exec.t ...... 1/4
# Failed test 'Created "/export/home/ncoadmin/.cpan/build/PAR-Packer
+-1.007-GiSJFV/t/test-10.exec"'
# at t/30-current_exec.t line 42.
Failed to create "/export/home/ncoadmin/.cpan/build/PAR-Packer-1.007-G
+iSJFV/t/test-10.exec"!
# Looks like you planned 4 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/30-current_exec.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/40-packer_cd_option.t .. PAR::StrippedPARL::Static->get_raw() did no
+t return the raw binary data for a PAR loader at /export/home/ncoadmi
+n/.cpan/build/PAR-Packer-1.007-GiSJFV/blib/lib/PAR/StrippedPARL/Base.
+pm line 141, <DATA> line 1.
Could not write temporary parl (class PAR::StrippedPARL::Static) to fi
+le '/tmp/parl6MwT' at /export/home/ncoadmin/.cpan/build/PAR-Packer-1.
+007-GiSJFV/blib/lib/PAR/StrippedPARL/Base.pm line 65, <DATA> line 1.
t/40-packer_cd_option.t: Failed to extract a parl from 'PAR::StrippedP
+ARL::Static' to file 'parlmd7HG1N' at /export/home/ncoadmin/.cpan/bui
+ld/PAR-Packer-1.007-GiSJFV/blib/lib/PAR/Packer.pm line 1172, <DATA> l
+ine 1.
# Looks like your test exited with 255 before it could output anything
+.
t/40-packer_cd_option.t .. Dubious, test returned 255 (wstat 65280, 0x
+ff00)
Failed 2/2 subtests
t/90-rt59710.t ........... PAR::StrippedPARL::Static->get_raw() did no
+t return the raw binary data for a PAR loader at /export/home/ncoadmi
+n/.cpan/build/PAR-Packer-1.007-GiSJFV/blib/lib/PAR/StrippedPARL/Base.
+pm line 141, <DATA> line 1.
Could not write temporary parl (class PAR::StrippedPARL::Static) to fi
+le '/tmp/parlS5wS' at /export/home/ncoadmin/.cpan/build/PAR-Packer-1.
+007-GiSJFV/blib/lib/PAR/StrippedPARL/Base.pm line 65, <DATA> line 1.
/export/home/ncoadmin/.cpan/build/PAR-Packer-1.007-GiSJFV/t/../blib/sc
+ript/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to
+ file 'parl5LudATA' at /export/home/ncoadmin/.cpan/build/PAR-Packer-1
+.007-GiSJFV/blib/lib/PAR/Packer.pm line 1172, <DATA> line 1.
t/90-rt59710.t ........... 1/3
# Failed test 'Created "/tmp/rt59710"'
# at t/90-rt59710.t line 21.
Failed to create "/tmp/rt59710"!
# Looks like you planned 3 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/90-rt59710.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
Test Summary Report
-------------------
t/30-current_exec.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 1.
t/40-packer_cd_option.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/90-rt59710.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 1.
Files=5, Tests=2, 288 wallclock secs ( 0.25 usr 0.08 sys + 284.00 cus
+r 4.04 csys = 288.37 CPU)
Result: FAIL
Failed 3/5 test programs. 2/2 subtests failed.
gmake: *** [test_dynamic] Error 2
RSCHUPP/PAR-Packer-1.007.tar.gz
/usr/sfw/bin/gmake test -- NOT OK
//hint// to see the cpan-testers results for installing this module, t
+ry:
reports RSCHUPP/PAR-Packer-1.007.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
RSCHUPP/PAR-Packer-1.007.tar.gz : make_test NO