Command RPM Won't Work on Fedora 2

Hi,

I am Noob on Unix, and i need to install Broadcom Network Card on Special Fedora 2 with Puresight integrated on the Kernel.

I Have test on Fedora 2 & 5...no trouble.
But on this special version when I try this command, i have an error
rpm -ivh bcm5700-6.2.17-1.src.rpm
cd /usr/src/rpm/

rpm -bb SPECS/bcm5700.spec or rpmbuild -bb SPECS/bcm5700.spec

Then I try the -bb i have the error :
Command not found.
bruno_boccaraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bruno_boccaraAuthor Commented:
I have somes news...i have try this process
1. Create a directory and extract the files:
tar xvzf bcm5700-<version>.tar.gz
2. Build the driver bcm5700.o as a loadable module for the running kernel:
cd src
make
3. Test the driver by loading it:
insmod bcm5700.o
or
insmod bcm5700.ko (on 2.6.x kernels)
If loading the driver on Red Hat 7.3, 2.1 AS or other newer kernels with the
tg3 driver, refer to the "Removing tg3 Driver" in DISTRIB.TXT before loading
the driver.
4. Install the driver and man page:
make install

But When I launch the Make or make install I have a bug

The release of my kernel is :
2.6.5.-1.358 smp on i686


0
gheistCommented:
$ rpmbuild  bcm5700-<version>.tar.gz
# rpm -i bcm5700-<version>.rpm
0
bruno_boccaraAuthor Commented:
Hi Gheist

So the command
rpm -i  or rpm -ivh  are correctly pass.

But After the next command block me

rpm -bb SPECS/bcm5700.spec ===> -bb: unknow option

rpmbuild -bb SPECS/bcm5700.spec====> -bash rpmbuild command not found

regards
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

ahoffmannCommented:
> rpm -bb SPECS/bcm5700.spec ===> -bb: unknow option
why are you using this option?

> rpmbuild -bb SPECS/bcm5700.spec====> -bash rpmbuild command not found
why would you build an rpm if you want to install one?
0
m1tk4Commented:
Here is the story. At one point, long time age (in this Galaxy) building RPMs was done by

rpm -bb (i.e. Build Binary)

At around RH9, RedHat decided to split developer tools from regular package management, so all building functionality was moved to rpmbuild. Later on, rpmbuild was split from rpm package into rpm-build package, which you are apparently missing.

So it's yum install rpm-build and then continue as advised by gheist.
0
m1tk4Commented:
>>why would you build an rpm if you want to install one?

Because he only got .src.rpm, i.e source RPM.
0
m1tk4Commented:
Oh, and it's

rpmbuild --rebuild somehting.src.rpm

0
ahoffmannCommented:
> Because he only got .src.rpm, i.e source RPM.
thanks for clarifying, didn't read the package name carefully in the question ..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ahoffmannCommented:
bruno_boccara, are you sure you graded the right question?
just wondering ...
0
bruno_boccaraAuthor Commented:
(;-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.