Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CPAN: pp install woes

Status
Not open for further replies.

zackiv31

Programmer
May 25, 2006
148
US
Googled for a good half hour and I can't figure out why I can't install pp from CPAN (or from source either).

Gives some Zlib error, but Zlib 2.04 is installed..

Code:
cpan[15]> install pp
Running install for module 'pp'
Running make for S/SM/SMUELLER/PAR-Packer-0.977.tar.gz

  CPAN.pm: Going to build S/SM/SMUELLER/PAR-Packer-0.977.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.

Checking if your kit is complete...
Looks good
Warning: prerequisite Archive::Zip 1 not found.
Warning: prerequisite Compress::Zlib 1.3 not found. We have unknown version.
Writing Makefile for the par program
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.pm
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
make[1]: Entering directory `/home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx/myldr'
/usr/bin/perl sha1.c.PL sha1.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  sha1.c
/usr/bin/perl ./file2c.pl /usr/lib/libperl.so.5.8 my_perl.c load_me_0 1 30000
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  main.c
/usr/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  my_par_pl.c
cc main.o my_par_pl.o  -s -Wl,-E  -L/usr/local/lib /usr/lib/perl/5.8.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt --output ./par
/usr/bin/perl -e1
/usr/bin/perl ./file2c.pl ./par my_par.c load_me_1 1 30000
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  static.c
cc static.o -s -Wl,-E  -L/usr/local/lib /usr/lib/perl/5.8.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -ldl -lm -lpthread -lc -lcrypt  --output ./static
/usr/bin/perl -e1
/usr/bin/perl parlsig.pl ./static ./par 1 30000
./static -I"/home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx/inc" -I"/etc/perl" -I"/usr/local/lib/perl/5.8.8" -I"/usr/local/share/perl/5.8.8" -I"/usr/lib/perl5" -I"/usr/share/perl5" -I"/usr/lib/perl/5.8.8" -I"/usr/share/perl/5.8.8" -I"/usr/local/lib/site_perl" -I"/home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx" -I"." -I../myldr/.. -I../blib/lib -q -B -O../script/parl
Can't locate Compress/Raw/Zlib.pm in @INC (@INC contains: ../blib/lib ../myldr/.. . /home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx /usr/local/lib/site_perl /usr/share/perl/5.8.8 /usr/lib/perl/5.8.8 /usr/share/perl5 /usr/lib/perl5 /usr/local/share/perl/5.8.8 /usr/local/lib/perl/5.8.8 /etc/perl /home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx/inc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 12.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 12.
Compilation failed in require at /usr/local/share/perl/5.8.8/Archive/Zip.pm line 11.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Archive/Zip.pm line 11.
Compilation failed in require at -e line 469.
make[1]: *** [../script/parl] Error 2
make[1]: Leaving directory `/home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx/myldr'
make: *** [subdirs] Error 2
  SMUELLER/PAR-Packer-0.977.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 SMUELLER/PAR-Packer-0.977.tar.gz             : make NO
 
It seems to look for a harcoded version of zlin module: 1.3

I already seen this type of problem and must install exact required version
 
1. How Do I uninstall my old Zlib Module?

2. Where and how do I install this 1.3 Zlib
 
I have better luck installing pp without using the CPAN shell. Download, extract, and run the standard "perl Makefile.PL; make; make test; make install".

-------------
Cuvou.com | My personal homepage
Project Fearless | My web blog
 
I've done it that way.. both ways give me the same requirement for Zlib... and they want 1.3, except the only one I can find is the latest, 2.008
 
Okay,

Looking through your output, the biggest problem is this:

Code:
Can't locate Compress/Raw/Zlib.pm in @INC (@INC contains: ../blib/lib ../myldr/.. . /home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx /usr/local/lib/site_perl /usr/share/perl/5.8.8 /usr/lib/perl/5.8.8 /usr/share/perl5 /usr/lib/perl5 /usr/local/share/perl/5.8.8 /usr/local/lib/perl/5.8.8 /etc/perl /home/zivester/.cpan/build/PAR-Packer-0.977-BdChPx/inc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 12.

It can't find Compress::Raw::Zlib at all in @INC. Try a

Code:
perl -MCompress::Raw::Zlib -e "1;"

And verify that the mod is even installed.

When it mentions 1.3, it says "our version is unknown", another indication that it's not finding the module (it should've at least been able to say "our version is 2.008").

-------------
Cuvou.com | My personal homepage
Project Fearless | My web blog
 
Further,

I have Compress::Raw::Zlib 2.008 and I just compiled and installed pp fine.

The only snags in the install:

- I had to install PAR
- I had to install PAR::Dist

And then PAR-Packer compiled and installed fine.

-------------
Cuvou.com | My personal homepage
Project Fearless | My web blog
 
I did all that... no change:

Code:
cpan[16]> i /Zlib/
Distribution    BINGOS/POE-Filter-Zlib-1.93.tar.gz
Distribution    MRAMBERG/Catalyst-Plugin-Compress-Zlib-0.03.tar.gz
Distribution    NWCLARK/Compress-Zlib-Perl-0.02.tar.gz
Distribution    PMQS/Compress-Raw-Zlib-2.008.tar.gz
Distribution    PMQS/Compress-Zlib-2.008.tar.gz
Distribution    PMQS/IO-Compress-Zlib-2.008.tar.gz
Distribution    TOMHUGHES/IO-Zlib-1.09.tar.gz
Module    Catalyst::Plugin::Compress::Zlib (MRAMBERG/Catalyst-Plugin-Compress-Zlib-0.03.tar.gz)
Module  = Compress::Raw::Zlib    (PMQS/Compress-Raw-Zlib-2.008.tar.gz)
Module  = Compress::Zlib         (PMQS/Compress-Zlib-2.008.tar.gz)
Module  = Compress::Zlib::Perl   (NWCLARK/Compress-Zlib-Perl-0.02.tar.gz)
Module    IO::Compress::Zlib::Constants (PMQS/IO-Compress-Zlib-2.008.tar.gz)
Module    IO::Compress::Zlib::Extra (PMQS/IO-Compress-Zlib-2.008.tar.gz)
Module  = IO::Zlib               (TOMHUGHES/IO-Zlib-1.09.tar.gz)
Module    LibZip::Build::MyZlibCompress (GMPASSOS/LibZip-0.06.tar.gz)
Module    LibZip::MyZlib         (GMPASSOS/LibZip-0.06.tar.gz)
Module    MDV::Packdrakeng::zlib (NANARDON/MDV-Packdrakeng-1.13.tar.gz)
Module    Net::SSH::Perl::Comp::Zlib (DBROBINS/Net-SSH-Perl-1.30.tar.gz)
Module    POE::Filter::Zlib      (BINGOS/POE-Filter-Zlib-1.93.tar.gz)
Module    POE::Filter::Zlib::Stream (BINGOS/POE-Filter-Zlib-1.93.tar.gz)
Module    SWF::BinStream::Codec::Zlib (YSAS/SWF-File-0.42.tar.gz)
21 items found

                                                                                cpan[17]> install PAR
PAR is up to date (0.977).

                                                                                cpan[18]> install PAR::Dist
PAR::Dist is up to date (0.25).



cpan[7]> install pp
Running install for module 'pp'
Running make for S/SM/SMUELLER/PAR-Packer-0.977.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /home/zivester) at /usr/local/share/perl/5.8.8/AutoLoader.pm line 186.
 at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 6
PAR-Packer-0.977/
PAR-Packer-0.977/TODO
PAR-Packer-0.977/README
PAR-Packer-0.977/t/
PAR-Packer-0.977/t/00-pod.t
PAR-Packer-0.977/t/20-pp.t
PAR-Packer-0.977/t/30-current_exec.t
PAR-Packer-0.977/t/test-proc
PAR-Packer-0.977/t/10-parl-generation.t
PAR-Packer-0.977/MANIFEST
PAR-Packer-0.977/MANIFEST.SKIP
PAR-Packer-0.977/inc/
PAR-Packer-0.977/inc/Module/
PAR-Packer-0.977/inc/Module/Install/
PAR-Packer-0.977/inc/Module/Install/Can.pm
PAR-Packer-0.977/inc/Module/Install/Win32.pm
PAR-Packer-0.977/inc/Module/Install/Makefile.pm
PAR-Packer-0.977/inc/Module/Install/Metadata.pm
PAR-Packer-0.977/inc/Module/Install/Fetch.pm
PAR-Packer-0.977/inc/Module/Install/PAR.pm
PAR-Packer-0.977/inc/Module/Install/WriteAll.pm
PAR-Packer-0.977/inc/Module/Install/Base.pm
PAR-Packer-0.977/inc/Module/Install/Include.pm
PAR-Packer-0.977/inc/Module/Install.pm
PAR-Packer-0.977/inc/Test/
PAR-Packer-0.977/inc/Test/Builder/
PAR-Packer-0.977/inc/Test/Builder/Module.pm
PAR-Packer-0.977/inc/Test/More.pm
PAR-Packer-0.977/inc/Test/Builder.pm
PAR-Packer-0.977/myldr/
PAR-Packer-0.977/myldr/main.c
PAR-Packer-0.977/myldr/internals.c
PAR-Packer-0.977/myldr/win32.coff
PAR-Packer-0.977/myldr/mktmpdir.c
PAR-Packer-0.977/myldr/file2c.pl
PAR-Packer-0.977/myldr/utils.c
PAR-Packer-0.977/myldr/encode_append.pl
PAR-Packer-0.977/myldr/env.c
PAR-Packer-0.977/myldr/sha1.c.PL
PAR-Packer-0.977/myldr/win32.obj
PAR-Packer-0.977/myldr/static.c
PAR-Packer-0.977/myldr/Makefile.PL
PAR-Packer-0.977/myldr/win32.res
PAR-Packer-0.977/myldr/mktmpdir.h
PAR-Packer-0.977/myldr/parlsig.pl
PAR-Packer-0.977/myldr/usernamefrompwuid.c
PAR-Packer-0.977/script/
PAR-Packer-0.977/script/par.pl
PAR-Packer-0.977/script/tkpp
PAR-Packer-0.977/script/pp
PAR-Packer-0.977/script/parl.pod
PAR-Packer-0.977/package/
PAR-Packer-0.977/package/parl.nsi
PAR-Packer-0.977/contrib/
PAR-Packer-0.977/contrib/docs/
PAR-Packer-0.977/contrib/docs/who_am_i.txt
PAR-Packer-0.977/contrib/docs/where_is_it.txt
PAR-Packer-0.977/contrib/stdio/
PAR-Packer-0.977/contrib/stdio/Stdio_readme.txt
PAR-Packer-0.977/contrib/stdio/Stdio.pm
PAR-Packer-0.977/contrib/procedural_pp/
PAR-Packer-0.977/contrib/procedural_pp/pp_old
PAR-Packer-0.977/contrib/automated_pp_test/
PAR-Packer-0.977/contrib/automated_pp_test/automated_pp_test.pl
PAR-Packer-0.977/contrib/automated_pp_test/hi.ico
PAR-Packer-0.977/contrib/automated_pp_test/hello_tk.pl
PAR-Packer-0.977/contrib/automated_pp_test/test_in_further_subdir.pm
PAR-Packer-0.977/contrib/automated_pp_test/prior_to_test.pm
PAR-Packer-0.977/contrib/automated_pp_test/remove_file_and_try_executable_again.pm
PAR-Packer-0.977/contrib/automated_pp_test/pipe_a_command.pm
PAR-Packer-0.977/contrib/gui_pp/
PAR-Packer-0.977/contrib/gui_pp/gpp
PAR-Packer-0.977/contrib/gui_pp/gpp_readme.txt
PAR-Packer-0.977/contrib/pare/
PAR-Packer-0.977/contrib/pare/pare_readme.txt
PAR-Packer-0.977/contrib/pare/pare
PAR-Packer-0.977/ChangeLog
PAR-Packer-0.977/Makefile.PL
PAR-Packer-0.977/META.yml
PAR-Packer-0.977/AUTHORS
PAR-Packer-0.977/lib/
PAR-Packer-0.977/lib/pp.pm
PAR-Packer-0.977/lib/PAR/
PAR-Packer-0.977/lib/PAR/Filter/
PAR-Packer-0.977/lib/PAR/Filter/PatchContent.pm
PAR-Packer-0.977/lib/PAR/Filter/Bleach.pm
PAR-Packer-0.977/lib/PAR/Filter/PodStrip.pm
PAR-Packer-0.977/lib/PAR/Filter/Bytecode.pm
PAR-Packer-0.977/lib/PAR/Filter/Obfuscate.pm
PAR-Packer-0.977/lib/PAR/Filter.pm
PAR-Packer-0.977/lib/PAR/StrippedPARL/
PAR-Packer-0.977/lib/PAR/StrippedPARL/Dynamic.pm
PAR-Packer-0.977/lib/PAR/StrippedPARL/Base.pm
PAR-Packer-0.977/lib/PAR/StrippedPARL/Static.pm
PAR-Packer-0.977/lib/PAR/Packer.pm
PAR-Packer-0.977/lib/App/
PAR-Packer-0.977/lib/App/Packer/
PAR-Packer-0.977/lib/App/Packer/PAR.pm

  CPAN.pm: Going to build S/SM/SMUELLER/PAR-Packer-0.977.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.

Checking if your kit is complete...
Looks good
Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC contains: inc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/AutoLoader.pm line 186.
 at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 6
Warning: prerequisite Archive::Zip 1 not found.
Warning: prerequisite Compress::Zlib 1.3 not found. We have unknown version.
Writing Makefile for the par program
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.pm
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
make[1]: Entering directory `/home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN/myldr'
/usr/bin/perl sha1.c.PL sha1.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  sha1.c
/usr/bin/perl ./file2c.pl /usr/lib/libperl.so.5.8 my_perl.c load_me_0 1 30000
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  main.c
/usr/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  my_par_pl.c
cc main.o my_par_pl.o  -s -Wl,-E  -L/usr/local/lib /usr/lib/perl/5.8.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt --output ./par
/usr/bin/perl -e1
/usr/bin/perl ./file2c.pl ./par my_par.c load_me_1 1 30000
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE  static.c
cc static.o -s -Wl,-E  -L/usr/local/lib /usr/lib/perl/5.8.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -ldl -lm -lpthread -lc -lcrypt  --output ./static
/usr/bin/perl -e1
/usr/bin/perl parlsig.pl ./static ./par 1 30000
./static -I"/home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN/inc" -I"/etc/perl" -I"/usr/local/lib/perl/5.8.8" -I"/usr/local/share/perl/5.8.8" -I"/usr/lib/perl5" -I"/usr/share/perl5" -I"/usr/lib/perl/5.8.8" -I"/usr/share/perl/5.8.8" -I"/usr/local/lib/site_perl" -I"/home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN" -I"." -I../myldr/.. -I../blib/lib -q -B -O../script/parl
Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC contains: ../blib/lib ../myldr/.. . /home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN /usr/local/lib/site_perl /usr/share/perl/5.8.8 /usr/lib/perl/5.8.8 /usr/share/perl5 /usr/lib/perl5 /usr/local/share/perl/5.8.8 /usr/local/lib/perl/5.8.8 /etc/perl /home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN/inc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl/5.8.8/AutoLoader.pm line 160.
 at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 6
Can't locate IO/Compress/Zlib/Extra.pm in @INC (@INC contains: ../blib/lib ../myldr/.. . /home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN /usr/local/lib/site_perl /usr/share/perl/5.8.8 /usr/lib/perl/5.8.8 /usr/share/perl5 /usr/lib/perl5 /usr/local/share/perl/5.8.8 /usr/local/lib/perl/5.8.8 /etc/perl /home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN/inc /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.8/IO/Compress/Gzip.pm line 16.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/IO/Compress/Gzip.pm line 16.
Compilation failed in require at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 13.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 13.
Compilation failed in require at /usr/local/share/perl/5.8.8/Archive/Zip.pm line 11.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Archive/Zip.pm line 11.
Compilation failed in require at -e line 469.
make[1]: *** [../script/parl] Error 2
make[1]: Leaving directory `/home/zivester/.cpan/build/PAR-Packer-0.977-WLQucN/myldr'
make: *** [subdirs] Error 2
  SMUELLER/PAR-Packer-0.977.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 SMUELLER/PAR-Packer-0.977.tar.gz             : make NO

 
No, It changed. It's a different error message now.

You apparently still haven't fully satisfied the requirements yet:

Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /home/zivester) at /usr/local/share/perl/5.8.8/AutoLoader.pm line 186.
at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 6

See if you can find where Compress::Zlib installed, if you successfully installed it. Maybe it went to a dfferent version of perl, or something.

- Miller
 
ok I've removed any remnants of Zlib that I know about.. Any folder with Zlib on my comp really..

but when I do this Zlib still shows up.. I must not be removing it completely..

Code:
cpan[23]> i /Zlib/
Distribution    BINGOS/POE-Filter-Zlib-1.93.tar.gz
Distribution    MRAMBERG/Catalyst-Plugin-Compress-Zlib-0.03.tar.gz
Distribution    NWCLARK/Compress-Zlib-Perl-0.02.tar.gz
Distribution    PMQS/Compress-Raw-Zlib-2.008.tar.gz
Distribution    PMQS/Compress-Zlib-2.008.tar.gz
Distribution    PMQS/IO-Compress-Zlib-2.008.tar.gz
Distribution    TOMHUGHES/IO-Zlib-1.09.tar.gz
Module    Catalyst::Plugin::Compress::Zlib (MRAMBERG/Catalyst-Plugin-Compress-Zlib-0.03.tar.gz)
Module  = Compress::Raw::Zlib    (PMQS/Compress-Raw-Zlib-2.008.tar.gz)
Module  = Compress::Zlib         (PMQS/Compress-Zlib-2.008.tar.gz)
Module    Compress::Zlib::Perl   (NWCLARK/Compress-Zlib-Perl-0.02.tar.gz)
Module    IO::Compress::Zlib::Constants (PMQS/IO-Compress-Zlib-2.008.tar.gz)
Module    IO::Compress::Zlib::Extra (PMQS/IO-Compress-Zlib-2.008.tar.gz)
Module  = IO::Zlib               (TOMHUGHES/IO-Zlib-1.09.tar.gz)
Module    LibZip::Build::MyZlibCompress (GMPASSOS/LibZip-0.06.tar.gz)
Module    LibZip::MyZlib         (GMPASSOS/LibZip-0.06.tar.gz)
Module    MDV::Packdrakeng::zlib (NANARDON/MDV-Packdrakeng-1.13.tar.gz)
Module    Net::SSH::Perl::Comp::Zlib (DBROBINS/Net-SSH-Perl-1.30.tar.gz)
Module    POE::Filter::Zlib      (BINGOS/POE-Filter-Zlib-1.93.tar.gz)
Module    POE::Filter::Zlib::Stream (BINGOS/POE-Filter-Zlib-1.93.tar.gz)
Module    SWF::BinStream::Codec::Zlib (YSAS/SWF-File-0.42.tar.gz)
21 items found


I think the '=' means its intalled no? I've rm -rf'd everything i know of.. can someone step me through a good way to get this pp working, of course first I need a working Zlib.. :-/
 
In my experience, when it can't find an auto/* part of a Perl module, the module was usually an XS module that needed some C code to be compiled with it. So for ex. if you just "install" an XS module by extracting the PMs to your lib but didn't actually run the make on it, the C parts weren't compiled and installed properly.

What does "cpan install Compress::Raw::Zlib" end up doing? If all else fails do a manual Makefile.PL install.

And if `perl -MCompress::Raw::Zlib -e "1;"` doesn't immediately return to the command prompt, then the module's not working right.

-------------
Cuvou.com | My personal homepage
Project Fearless | My web blog
 
SOLVED.

CPAN didn't know what was installed after I rm'ed all my Zlib's.. so I force installed all the Zlib packages..

reran install pp.. and it complained about some Extra.PM..

checked i/Zlib/ and saw an Extra.PM that wasn't installed... installed it clean pp..

install pp..

all is well :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top