LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make: cc: command not found make: *** [gzip.o]error 127 (http://www.linuxquestions.org/questions/linux-newbie-8/make-cc-command-not-found-make-%2A%2A%2A-%5Bgzip-o%5Derror-127-a-13818/)

zyjk 02-08-2002 08:28 AM

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

acid_kewpie 02-08-2002 08:40 AM

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

zyjk 02-08-2002 09:37 AM

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
:)

acid_kewpie 02-08-2002 09:44 AM

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.

zyjk 02-08-2002 10:56 AM

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

acid_kewpie 02-08-2002 10:58 AM

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.


All times are GMT -5. The time now is 10:24 PM.