LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-07-2004, 01:44 PM   #1
Godboo
LQ Newbie
 
Registered: Jan 2004
Location: Arizona, USA
Distribution: Slackware 9.1
Posts: 22

Rep: Reputation: 15
Shell Command Problem


Hello,

I just installed Red Hat 9 on my Dell Inspiron 5100 laptop. Installation and everything went fine, although I need to install my internal ethernet card drivers seperatly.

So I got the drivers and unzipped them, my problem is I'm having trouble building it. Obviously, I'm still a noob so I'm basically just doing what the instructions tell me too.


The readme instructs to run the shell command:

rpmbuild -bb SPECS/bcm4400.spec



However I keep getting the error that there is no such command as rpmbuild.

I even tried taking away the build part and just leaving rpm -bb....

but then I get the error that -bb isn't a command either.



I'm running kernal 2.4.20 and the name of the ethernet card is Broadcom 440x.

Thanks for the help.
 
Old 01-07-2004, 01:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Become root (su -) before running rpmbuild ...

Try "which rpmbuild" ... it certainly should
be there ....

Cheers,
Tink
 
Old 01-07-2004, 05:38 PM   #3
Godboo
LQ Newbie
 
Registered: Jan 2004
Location: Arizona, USA
Distribution: Slackware 9.1
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you very much for the quick response. The "which rpmbuild" command got me somewhere but I still got an error which I can't explain:

[root@localhost redhat]# which rpmbuild -bb SPECS/bcm4400.spec
/usr/bin/which: invalid option -- b
/usr/bin/which: invalid option -- b
/usr/bin/which: no rpmbuild in (/usr/local/sbin:/usr/local/bin:/bin:
/usr/sbin:usr/bin:/usr/X11R6/bin:/root bin)
./SPECS/bcmm4400.spec


This just looks like gibberish to me but probably not to you Linux gurus hehe.

Thanks again for any help.
 
Old 01-07-2004, 07:53 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Godboo
[B]Thank you very much for the quick response. The "which rpmbuild" command got me somewhere but I still got an error which I can't explain:
No, it didn't ... it looks like you don't have rpmbuild
installed ... try a
which rpmb
(rpmbuild is just a symlink)

Quote:
[root@localhost redhat]# which rpmbuild -bb SPECS/bcm4400.spec
/usr/bin/which: no rpmbuild in (/usr/local/sbin:/usr/local/bin:/bin:
/usr/sbin:usr/bin:/usr/X11R6/bin:/root bin)
See?


Cheers,
Tink
 
Old 01-08-2004, 12:48 PM   #5
Godboo
LQ Newbie
 
Registered: Jan 2004
Location: Arizona, USA
Distribution: Slackware 9.1
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the help Tinkster...

However I also tried the rpmb command with the same result. Does this mean I still just havn't found the right command? I mean there has got to be a way to build this file. Do I just need to find the right build command to do it? Is it just hit or miss?

Thanks again.
 
Old 01-08-2004, 12:55 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well no, you'll just go download the rpmbuild package, or get it off your distros cd's...
 
  


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
Problem executing mv command inside shell script pablogosse Linux - General 7 12-16-2009 01:21 PM
problem with the shell command "find zosimus Linux - Software 7 06-14-2005 05:28 PM
Shell command (Try this out!!!!!!!) vbhatia_81 Programming 6 06-23-2004 03:43 AM
what is the shell command to.... praefex Linux - Newbie 2 08-18-2003 06:25 PM
QT --how to do a shell command linuxlah Programming 2 08-22-2002 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 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