LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-01-2003, 07:54 PM   #1
MgF
LQ Newbie
 
Registered: Nov 2002
Location: Central QLD Australia
Distribution: RH7.3
Posts: 13

Rep: Reputation: 0
Building RPM's from Sources in RH 7.3


Hi
I am having heaps of trouble trying to build arpm from a source rpm.
I have updated to the latest kernel for RH 7.3 and I have been trying to build a rpm from the Nvidia Kernel Source so i can update my Nvidia Drivers.

What is the correct proceedures for doing the above as I keep getting "No such file or directory" errors.

Michael

Last edited by MgF; 02-01-2003 at 08:57 PM.
 
Old 02-02-2003, 09:57 AM   #2
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
# rpm -ivh something.src.rpm
# cd /usr/src/redhat/SPECS
# rpm -bb something.spec
# cd ../RPMS/{arch}/
# ls

There are your .RPM packages...

Optionally add --target {arch} after the -bb to build binaries for specific CPU architectures, ie: i686, athlon, etc...
 
Old 02-03-2003, 12:36 AM   #3
MgF
LQ Newbie
 
Registered: Nov 2002
Location: Central QLD Australia
Distribution: RH7.3
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks wdingus,

I hadn't installed rpm-build
and i hadn't installed the kernel-sources---how dumb do i feel

Thanks again.

Michael
 
  


Reply



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
help building xgalaga from sources Joseph Schiller Linux - Games 2 01-22-2005 07:59 PM
Building RPM's - Finding dependancies? HCLogo Linux - Newbie 2 08-25-2004 07:27 AM
Building RPM's - Finding dependancies? HCLogo Linux - Software 0 05-20-2004 02:05 PM
Upgrading Software by Building new RPM's farmerdan Linux - General 2 03-28-2004 11:29 AM
Upgrading Software by Building new RPM's farmerdan Linux - General 2 03-28-2004 07:13 AM

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

All times are GMT -5. The time now is 06:34 AM.

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
Open Source Consulting | Domain Registration