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

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

by HJO (Acolyte)
on Sep 24, 2012 at 10:45 UTC ( #995349=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^6: Par::Packer, include conf files or not ?
Select or Download Code
Re^7: Par::Packer, include conf files or not ?
by marto (Bishop) on Sep 24, 2012 at 10:51 UTC
    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 ?

        install gcc, then try and install pp again using the cpan command, which will in turn install dependencies. It's worth while actually reading the output of the build process, as (more often than not) it tells you what is wrong.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-12-27 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls