LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-26-2003, 03:45 PM   #1
bad_cmd/filenam
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.2
Posts: 15

Rep: Reputation: 0
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
 
Old 04-26-2003, 03:49 PM   #2
bad_cmd/filenam
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 04-26-2003, 04:00 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 04-26-2003, 04:07 PM   #4
bad_cmd/filenam
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
is that run as a whole command or as
ldconfig [return]
updatedb [return]
whereis gcc [return]

????

Thanks so far

Dave
 
Old 04-26-2003, 04:37 PM   #5
bad_cmd/filenam
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
Damn - whereis gcc returns
gcc:

nothing else. will try the command based rpm installation

Thanks

Dave
 
Old 04-26-2003, 04:41 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 04-26-2003, 04:54 PM   #7
bad_cmd/filenam
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
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 04:58 PM.
 
Old 04-26-2003, 05:21 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 04-26-2003, 05:26 PM   #9
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
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
 
Old 04-28-2003, 12:43 PM   #10
bad_cmd/filenam
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm help Red Hat 9. ThrustMaster Linux - Newbie 2 03-20-2004 04:06 PM
Qt designer rpm for red Hat 7.2 nitin_kataria Programming 1 10-18-2003 01:02 AM
RPM 4.x bug on Red hat 8 balam Linux - Software 0 01-03-2003 09:10 PM
red hat rpm quicktime ronss Linux - Software 7 11-30-2002 02:02 AM
Rpm Trouble Red Hat 7.3 OrganicX Linux - Software 11 09-24-2002 06:29 AM


All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration