LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   not able to install some module in perl (https://www.linuxquestions.org/questions/linux-newbie-8/not-able-to-install-some-module-in-perl-892976/)

jacquestechie 07-21-2011 10:44 AM

not able to install some module in perl
 
Hi,

I am using RHEL5 64 bit. I am trying to install bugzilla. While installing i am getting error. I am posting error below.

CPAN> install Digest::SHA
Going to read '/root/.cpan/Metadata'
Database was generated on Thu, 21 Jul 2011 04:32:31 GMT
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.62.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.

Scanning cache /root/.cpan/build for sizes
............................................................................DONE

CPAN.pm: Going to build M/MS/MSHELOR/Digest-SHA-5.62.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA
Writing MYMETA.yml and MYMETA.json
cp lib/Digest/SHA.pm blib/lib/Digest/SHA.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap SHA.xs > SHA.xsc && mv SHA.xsc SHA.c
gcc -c -I. -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-buffer-size=4 -m64 -mtune=generic -DVERSION=\"5.62\" -DXS_VERSION=\"5.62\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -DSHA_PERL_MODULE SHA.c
/bin/sh: gcc: command not found
make: *** [SHA.o] Error 127
MSHELOR/Digest-SHA-5.62.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:
MSHELOR/Digest-SHA-5.62.tar.gz : make NO

Please suggest some solution.

rch 07-21-2011 10:59 AM

do you have gcc installed?
yum install gcc

knudfl 07-21-2011 02:43 PM

.. And besides installing gcc with yum, you can also do :

# yum install bugzilla

( From the EPEL repo https://fedoraproject.org/wiki/EPEL )

jacquestechie 09-20-2011 09:34 AM

Quote:

Originally Posted by rch (Post 4421375)
do you have gcc installed?
yum install gcc

Thanks it worked

rch 09-20-2011 02:01 PM

Now that took a long time!


All times are GMT -5. The time now is 07:28 PM.