make: cc: command not found make: *** [gzip.o]error 127
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
......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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.