LinuxQuestions.org
Review your favorite Linux distribution.
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 02-08-2002, 07:28 AM   #1
zyjk
LQ Newbie
 
Registered: Feb 2002
Location: SE LONDON
Distribution: REDHAT
Posts: 3

Rep: Reputation: 0
make: cc: command not found make: *** [gzip.o]error 127


I apologise if this question has been dealt with before, only I have spent day and half trying to research this with no result.

redhat 7.2 I installed yesterday, I have EVERY PACKAGE installed.

I d/l gzip - extracted it from the archive using tar

changed to the correct directory,

./ configure

and then

make

and I get this error

make: cc: command not found
make: *** [gzip.o]error 127

I get the same thing for an irc client I d/l also.

One thing I have found out is that maybe I am missing the gcc compiler ?!?! I have typed gcc -v as I read this is a test to see if its installed/accessible, and recieve a

bash: gcc: command not found error.

As I say I have EVERYBLADDY thing installed of the cdrom, and am at a loss now,as to what to do to resolve this.

I would be very very very grateful for some assistance or else

:smash:

thank Yous in advance

Last edited by zyjk; 02-08-2002 at 07:31 AM.
 
Old 02-08-2002, 07:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
you shouldn't install EVERYTHING, it's pointless and bad practise. if you insist you have got gcc installed, use 'locate gcc' to find out where it is. also check you've got the rpm installed: 'rpm -qa | grep gcc'. if you don't find it it's not installed.

cc is usually used as a fallback if gcc is not found, so nistalling gcc should stop the cc message
 
Old 02-08-2002, 08:37 AM   #3
zyjk
LQ Newbie
 
Registered: Feb 2002
Location: SE LONDON
Distribution: REDHAT
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for assistance, however

......yes installing everything is not a good idea, but as I cannot understand how to ensure if gcc is installed,until your tip from your previous post I thought, this would be best temporary option until I know what I am doing.

Anyhow I did as You suggested, the "locate gcc" showed me

tradcpp0 and cpp0 in gcc-lib/i386-redhat-linux/2.96 directory

some stuff in share/ghostscript/ etc etc

and lots files in

/gnome-users-guide [*.png files ].

running the 'rpm -qa | grep gcc' command gave me no result, after a small delay.

I am assuming that the gcc package is within the development part on the redhat installation cd - running the gnome rpm I see that all from this package is installed but for

php-4.0.6-7
php-imap-4.0.6.7
php-idap-4.0.6.7
php-pgssl-4.0.6.7

libodbc++0.2.2pre4-12
postgreql-devel-7.1.3-2

specspo-7.2-1

might there be some command i can use at root to install this from the cd ?

thank You again for your kind reply
 
Old 02-08-2002, 08:44 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
gcc comes in it's own package...

[chris@trevor chris]$ rpm -qa | grep gcc
gcc-c++-2.96-0.62mdk
gcc3.0-3.0.1-1mdk
gcc-cpp-2.96-0.62mdk
gcc-2.96-0.62mdk
libgcc3.0-3.0.1-1mdk
gcc3.0-cpp-3.0.1-1mdk

but that's for mandrake 8.1, and not redhat. you can install them from the cd easily enough

rpm -iv /mnt/cdrom/Redhat/RPMS/gcc-blah.rpm

assuming that's where the cd is mounted. you've obviously not got everything installed in this case, as gcc is extremely essesntial to compiling programs.
 
Old 02-08-2002, 09:56 AM   #5
zyjk
LQ Newbie
 
Registered: Feb 2002
Location: SE LONDON
Distribution: REDHAT
Posts: 3

Original Poster
Rep: Reputation: 0
thanks again - sussed the problem

I think I have found out why the gcc package was not installing and thats because I had a corrupted iso of redhat disk 2. I found the package on the cdrom, and tried allsorts to get it to 'install' with no joy......

i beleive it did fail the md5sum check, but having d/l it over a week week with my 56k,i hoped that it'd work nonetheless....silly me

thanks fir YOur help comrade
 
Old 02-08-2002, 09:58 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Re: thanks again - sussed the problem

Quote:
Originally posted by zyjk
thanks fir YOur help comrade
if there is any hope, it lies with the proles.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Command make not found Valhalla Linux - Software 9 12-08-2004 03:56 PM
make: Command not found, Error 127. I'm on Redhat Arild2 Linux - Newbie 3 10-30-2004 01:27 PM
make command not found? bobbens Linux - Newbie 8 09-26-2004 04:36 PM
make error : gtkdoc-scan: command not found Kanaflloric Linux - Software 1 08-25-2004 02:42 PM
Make command not found chaos Programming 1 05-19-2001 10:48 PM

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

All times are GMT -5. The time now is 12:20 AM.

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