Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 438
  • Last Modified:

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.
0
bruno_boccara
Asked:
bruno_boccara
  • 3
  • 3
  • 3
  • +1
1 Solution
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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
 
ahoffmannCommented:
bruno_boccara, are you sure you graded the right question?
just wondering ...
0
 
bruno_boccaraAuthor Commented:
(;-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now