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.
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.
Sorry if there's been a thread like this already but im in a rush.
I have recently migrated from MandrakeLinux 9 to Red Hat 9 because my wireless network adapter (Netgear MA101B) has drivers that are supposedly supported to work on Red Hat.
To install these drivers, I have to install gcc. I go to the Package Manager and select the Development tools option (which shows that there is nothing installed from that section). I install them all (to be on the safe side) and close down Package Manager. I then run the relevant make commands to compile the driver and I get the error: gcc - command not found or something along those lines. So I go back into Package Manager and find that the Development tools section is marked as having nothing installed in it. So I install all the packages (gcc is one that is automatically installed) and close the program, run the make commands and I get the same error.
Any ideas as to how I can install gcc so that I can set my wireless adapter up?
BTW, I am a newbie to Linux and so far I like what I see. I really need to get it working ASAP.
Find out if they are actually getting installed. After you "supposedly" run the gui install app, as root run (in a termnal):
ldconfig &&
updatedb
Then type:
whereis gcc
If a path is returned, then gcc is installed and you simply need to add that to your PATH variable.
If it turns up a blank:
whereis gcc
gcc:
Then you don't have it installed. You'll either need to find an alternative way to install it (Check out apt-get and Synaptic at www.freshmeat.net) or get the RPM's from your disc installed an alternate way, maybe via the command line:
rpm -ivh /path/to/cd/gcc.blah.blah.rpm
FYI, you will have dependency hell with this particular program. gcc is massively involved and needs many apps to run. To install many apps at the same time add them all to the same command, for example:
rpm -ivh filenam1.rpm filename2.rpm
So in your case you'll need a plethora of apps, add them all to the same line, use tab to autocomplete (this will not only ease the lengthy filename typing since it auto completes the filename for you, but it also ensure you are typing the package correctly. It really sucks to type out an 800 letter rpm name only to find out you meant v instead of b in the 16th letter )
Right, I tried doing it via the command line with the following command:
Quote:
rpm -ivh gcc-3.2.2-5.i386.rpm
and the following errors come up:
Quote:
error: gcc-3.2.2-5.i386.rpm: V3 DSA signature: Bad, key ID db42a60e
error: gcc-3.2.2-5.i386,rpm cannot be installed
What the hell is going wrong?
Should I download the RPM from the gcc website - wherever that is
Quote:
Originally posted by MasterC gcc is massively involved and needs many apps to run. To install many apps at the same time add them all to the same command, for example:
rpm -ivh filenam1.rpm filename2.rpm
So in your case you'll need a plethora of apps, add them all to the same line, use tab to autocomplete (this will not only ease the lengthy filename typing since it auto completes the filename for you, but it also ensure you are typing the package correctly. It really sucks to type out an 800 letter rpm name only to find out you meant v instead of b in the 16th letter )
Wht programs might these be?
Quote:
Originally posted by MasterC Cool
That's not the word Iwould use morelike p****d off
Dave
Last edited by bad_cmd/filenam; 04-26-2003 at 03:58 PM.
gcc is the gnu compiler. Since you need a compiler to compile you cannot grab the source for this and compile it.
Your best bet is to grab something like Synaptic from www.freshmeat.net and install it to help with those dependencies. From that you should be able to get gcc installed with much less of a headache than if you were to do it by hand.
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
or another option to use rhn to install programs goto rhn.redhat.com login its free and they gcc it will find you the program rpm download it if ask for depenci download them from rhn too. they are all there
I have given up with Red Hat, mainly because I find Mandrake is more suited to me. In a few months tho I will probably re-install it and select the 'Everything' option. Hopefully this will work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.