LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Issue during installing the Digest-SHA1 module ?? (https://www.linuxquestions.org/questions/linux-newbie-8/issue-during-installing-the-digest-sha1-module-681463/)

your_shadow03 11-06-2008 03:13 AM

Issue during installing the Digest-SHA1 module ??
 
On one of the Red Hat Enterprise 4 Update 6 machine,I am trying to install Digest-SHA1 module for perl which is required to access mysql in perl. I am not successful to install the same. I got the below error when I tried.
Code:

Digest-SHA1 is in the path /tmp of 135 server

 

[root@135master Digest-SHA1-2.11]# perl Makefile.PL

Writing Makefile for Digest::SHA1

[root@135master Digest-SHA1-2.11]# make

gcc -c  -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64  -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"  SHA1.c

/bin/sh: gcc: command not found

make: *** [SHA1.o] Error 127

[root@135master Digest-SHA1-2.11]#

Is it that gcc is not compatible?

Pls Help

chrism01 11-06-2008 06:19 AM

gcc is the default C compiler on RH. Are you sure you've got it installed. It'll be part of development-tools or somesuch name.
On my F8 box its in /usr/lib/ccache/gcc.
It'll need to be in root's PATH.


All times are GMT -5. The time now is 10:31 AM.