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. |
do you have gcc installed?
yum install gcc |
.. And besides installing gcc with yum, you can also do :
# yum install bugzilla ( From the EPEL repo https://fedoraproject.org/wiki/EPEL ) |
Quote:
|
Now that took a long time!
|
All times are GMT -5. The time now is 07:28 PM. |