- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to install *.src.rpm ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2004 10:24 PM
тАО11-27-2004 10:24 PM
plz le me know how to install *.src.rpm.
I tried following ... but failed
rpm -Uvh *.src.rpm
And
rpm -ivh *.src.rpm
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2004 10:35 PM
тАО11-27-2004 10:35 PM
Re: how to install *.src.rpm ?
rpmbuild --rebuild pakagename
instead.
This will place the ready rpm under /usr/src/redhat/RPMS tree.
Look for it under existing directories -probably noarch..
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2004 03:59 AM
тАО11-28-2004 03:59 AM
Re: how to install *.src.rpm ?
plz find the attachement... and le me know whats the prblm.
I tried ... but failed
# rpmbuild --rebuild /vlock-1.3-2.src.rpm
.
.
.
RPM build errors:
File not found: /tmp/vlock/usr/man/man1/vlock.1
Thnaks
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2004 10:34 AM
тАО11-28-2004 10:34 AM
SolutionRight about now, you've no choice but to manually nudge the spec file into line.
Start by 'installing' the source package:
rpm -ivh /vlock-1.3-2.src.rpm
From here you've got two choices. Fix the 'Makefile' so the file gets installed, or fix the Spec so it doesn't look for it. I'd suggest the latter unless you like makefiles:
Then modify the associated spec file:
vi /usr/src/redhat/SPECS/vlock.spec
Find the reference to the file 'vlock.1' under the '%files' section, and remove it.
Once done, save and exit (:wq), then use the command:
rpmbuild -ba /usr/src/redhat/SPECS/vlock.spec
It should end up with an RPM in '/usr/src/redhat/RPMS/i386/' for you to install.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2004 05:07 PM
тАО11-28-2004 05:07 PM
Re: how to install *.src.rpm ?
New rpm files in the /usr/src/redhat/RPMS/
use rpm -Uvh to install them