LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2008, 03:13 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
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
 
Old 11-06-2008, 06:19 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
loadable kernel module compilation error for SHA1 functions nikhil86 Programming 1 03-25-2008 09:08 PM
Perl SHA1 module install problem eclipse7500 Linux - Software 7 08-08-2007 07:28 PM
prerequisite Digest::SHA1 0 not found for SpamAssassin NetRAVEN5000 Slackware 3 03-14-2006 01:45 AM
Spamassassin Digest::SHA1 twantrd Linux - Software 0 02-06-2005 07:00 PM
Digest::SHA1 and spamassassin-tools-2.63 nink Linux - Software 0 03-10-2004 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration