Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Par::Packer, include conf files or not ?

by marto (Chancellor)
on Sep 24, 2012 at 10:15 UTC ( #995341=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Par::Packer, include conf files or not ?
in thread Par::Packer, include conf files or not ?

Out of curiosity, how are you trying to install pp? On MS Windows (using Strawberry Perl), Linux and Solaris the following command works without problems:

cpan pp


Comment on Re^5: Par::Packer, include conf files or not ?
Download Code
Re^6: Par::Packer, include conf files or not ?
by HJO (Acolyte) on Sep 24, 2012 at 10:45 UTC

    I used basically the same, but then I got a lot of dependencies and one of them got make install errors (Compress::Raw::Zlib) :

    CPAN.pm: Going to build P/PM/PMQS/Compress-Raw-Zlib-2.056.tar.gz Parsing config.in... Building Zlib enabled Auto Detect Gzip OS Code.. Setting Gzip OS Code to 3 [Unix/Default] Looks Good. Up/Downgrade not needed. WARNING: META_MERGE is not a known parameter. Checking if your kit is complete... Looks good 'META_MERGE' is not a known MakeMaker parameter name. Writing Makefile for Compress::Raw::Zlib cp lib/Compress/Raw/Zlib.pm blib/lib/Compress/Raw/Zlib.pm AutoSplitting blib/lib/Compress/Raw/Zlib.pm (blib/lib/auto/Compress/Ra +w/Zlib) /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/ +perl5/5.8.8/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && +mv Zlib.xsc Zlib.c gcc -c -I./zlib-src -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing - +pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_ +SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall +-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu +ffer-size=4 -m64 -mtune=generic -DVERSION=\"2.056\" -DXS_VERSION=\" +2.056\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/COR +E" -DNO_VIZ -DZ_SOLO -DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c /bin/sh: gcc: command not found make: *** [Zlib.o] Error 127 /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

    And every one of the make test of the others modules had errors(related to the absence of Compress::Raw::Zlib.pm) So in the end, when the "installation" finished, I typed pp -h and got :

    Can't locate Compress/Raw/Zlib.pm in @INC (@INC contains: /usr/lib64/p +erl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_pe +rl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/ +x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/p +erl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /us +r/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm + line 12. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Ar +chive/Zip.pm line 12. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/PAR/Pa +cker.pm line 28. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/PA +R/Packer.pm line 28. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/pp.pm +line 5. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/pp +.pm line 5. Compilation failed in require at /usr/bin/pp line 8. BEGIN failed--compilation aborted at /usr/bin/pp line 8.

      gcc: command not found

      Does the system you're running on have gcc installed?

        rpm -q gcc package gcc is not installed

        No it isn't, I guess I should install it then retry the installation of Compress::Raw::Zlib ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995341]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-09-22 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (202 votes), past polls