Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Installing Zlib-1.34

by tc1364 (Beadle)
on Apr 29, 2005 at 18:35 UTC ( #452707=perlquestion: print w/ replies, xml ) Need Help??
tc1364 has asked for the wisdom of the Perl Monks concerning the following question:

Can you please assist me with what needs to be done to be able to install the Zlib-1.34 module? Below is what is being returned and a listing of the other modules installed.

-returned- $ perl Makefile.PL Parsing config.in... Building Zlib enabled Looks Good. Up/Downgrade not needed. Checking if your kit is complete... Looks good Writing Makefile for Compress::Zlib $ su root Password: # /usr/ccs/bin/make mkdir blib mkdir blib/lib mkdir blib/lib/Compress mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/Compress mkdir blib/arch/auto/Compress/Zlib mkdir blib/lib/auto mkdir blib/lib/auto/Compress mkdir blib/lib/auto/Compress/Zlib mkdir blib/man3 cp Zlib.pm blib/lib/Compress/Zlib.pm AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib) /usr/perl5/5.00503/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/p +erl5/5.005 03 /usr/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/perl5/5.00503/Ext +Utils/type map -typemap typemap Zlib.xs >xstmp.c && mv xstmp.c Zlib.c cc -c -I./zlib-src-1.2.2 -xO3 -xdepend -DVERSION=\"1.34\" -DXS_V +ERSION=\"1 .34\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE Zlib.c sh: cc: not found *** Error code 1 make: Fatal error: Command failed for target `Zlib.o' # exit -installed- drwxr-xr-x 6 tc1364 ossd 512 Oct 21 2004 libnet-1.19 drwxr-xr-x 5 tc1364 ossd 512 Oct 27 2004 URI-1.34 drwxr-xr-x 4 tc1364 ossd 512 Oct 27 2004 MIME-Base64-3.05 drwxr-xr-x 3 tc1364 ossd 512 Oct 27 2004 HTML-Tagset-3.03 drwxr-xr-x 7 tc1364 ossd 512 Oct 27 2004 HTML-Parser-3.36 drwxr-xr-x 5 tc1364 ossd 512 Oct 27 2004 Digest-MD5-2.33 drwxr-xr-x 6 tc1364 ossd 512 Oct 27 2004 libwww-perl-5.80 +0 drwxr-xr-x 5 tc1364 ossd 512 Apr 11 15:29 Net-Telnet-3.03 drwxr-xr-x 4 tc1364 ossd 512 Apr 11 15:54 Expect.pm-1.07 drwxr-xr-x 5 tc1364 ossd 512 Apr 11 16:10 IO-Tty-1.02 drwxr-xr-x 5 tc1364 ossd 512 Apr 11 16:13 Expect-1.15 drwxr-xr-x 4 tc1364 ossd 512 Apr 29 10:50 Compress-Zlib-Pe +rl-0.02 -rw-r--r-- 1 tc1364 ossd 144980 Apr 29 13:28 Compress-Zlib-1. +34.tar.gz drwxr-xr-x 6 tc1364 ossd 1024 Apr 29 13:29 Compress-Zlib-1. +34

20050429 Janitored by Corion: Added formatting

Comment on Installing Zlib-1.34
Download Code
Re: Installing Zlib-1.34
by pfaut (Priest) on Apr 29, 2005 at 18:52 UTC
    sh: cc: not found

    Do you have a C compiler installed? If so, how do you invoke it? Is it in your PATH? Instead of just typeing make, you may have to type make CC=/path/to/c-compiler.

    90% of every Perl application is already written.
    dragonchild
      The system administrator was able to install it. this was the first I have had this type of trouble and what is even more troubling is that I was runnning it as root. Thanks!
Re: Installing Zlib-1.34
by devnul (Monk) on Apr 29, 2005 at 21:56 UTC
    Which C-compiler did your sysadmin install?.. The Solaris one or GCC?

    If you do a "which cc", can it find your compiler?...

    If not, you might want to do the following:

    find /usr -name cc

    .. and whatever directory it finds that in, if it finds it, add that to your PATH environment variable.

    I bet after you do that this will work.


    - devnul

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-10-21 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (100 votes), past polls