RPM Problems in Red Hat 9
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. Dave |
If this is in the wrong forum - sorry but in the Distros forum there was no Red Hat sub-forum so i thought here would be the best place
Dave |
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 :) Cool |
is that run as a whole command or as
ldconfig [return] updatedb [return] whereis gcc [return] ???? Thanks so far Dave |
Damn - whereis gcc returns
gcc: nothing else. will try the command based rpm installation Thanks Dave |
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 ;) ) Cool |
Right, I tried doing it via the command line with the following command:
Quote:
Quote:
Should I download the RPM from the gcc website - wherever that is :) Quote:
Quote:
Dave |
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. Cool, or in your case, pissed off ;) |
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
|
OK thanks everyone
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. Dave |
All times are GMT -5. The time now is 05:01 AM. |