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,
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
thank Yous in advance
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
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
might there be some command i can use at root to install this from the cd ?
thank You again for your kind reply
gcc comes in it's own package...
[chris@trevor chris]$ rpm -qa | grep gcc
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.
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
Re: thanks again - sussed the problem
|All times are GMT -5. The time now is 09:40 PM.|