LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shell Command Problem (https://www.linuxquestions.org/questions/linux-newbie-8/shell-command-problem-132446/)

Godboo 01-07-2004 12:44 PM

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.

Tinkster 01-07-2004 12:49 PM

Become root (su -) before running rpmbuild ...

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

Cheers,
Tink

Godboo 01-07-2004 04:38 PM

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.

Tinkster 01-07-2004 06:53 PM

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

Godboo 01-08-2004 11:48 AM

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.

DrOzz 01-08-2004 11:55 AM

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


All times are GMT -5. The time now is 12:32 AM.