- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- how to install *.src.rpm ?
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP