Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
"I have a Red Hat 9 box that's primarily used for Linux learning purposes. Right now I'm trying to update a bunch of the modules, and while I'm a decent Linux user, I'm a newbie to a lot of it's configuration.
I have a list of modules I'm trying to bring up to date. The machine doesn't have GCC installed. I have gcc-3.4.3 downloaded and uncompressed. When I try to do a "./configure" I get an error message telling me I have to "set the environment variable CC to a working compiler"
and member Artanicus was kind enough to point me to some RPMs.
When I try to install the gcc RPM, which I understand is done with:
rpm -i package name
it runs very briefly, dumps some archives in /usr/src/redhat/SOURCES and stops.
Ok, I figure maybe I could have gotten a hosed RPM? I download 2 others, and when I try installing them I see no result whatsover.
So... I discover I have 'cpp' on my system, and I look up how to set the environmental variable "CC" to /usr/bin/cpp. Once this is done, and I logged out and back in to make sure it's read (don't know if that was necessary), I try the gcc /.configure again and STILL am told I need to set the CC variable to a working compiler...
Please point me in any helpful direction to resolve this, whether it's fixing my environment so that the /.configure will rum, or finding why my RPM doesn't complete, or finding the right RPM, or anything else.
Some info on my system:
is there any other info that would be relevant?
If you don't have gcc installed, you won't be able to compile anything, including gcc. Think about it: How can you compile something without a compiler? You should really stick with .rpm's, at least for installing gcc.
You very best shot, however, would be to install apt-get and synaptic for Redhat 9.0 to get those things installed. Take a look in here to learn what apt-get is and what it does: