Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RPM package install problem

Status
Not open for further replies.

UnknownPerson

Programmer
Dec 4, 2001
80
BR
When I try to recompile a package like 'rpm -ba some_spec_file' sometimes the prep and build process succeed but the install process fails. Only the install process, not the build process.

I have checked the dirs and they seem perfectly built. There seems to be a problem somewhere in the install phase.

The question is: How to ask for a mere 'make install' equivalent that WONT COMPILE and just TRY to install and generate my binary and source rpm packages?

I need my binary and src rpms generated.

I tried 'rpm --nobuild -bi spec_file' but it doesn't create my package.

Any help would be greattly appreciated!
 
"make install" doesn't compile anything. It just copies the files where they need to be. This could be a problem with many distros because they like stuff in different directories. You can do a "whereis" to find where the executables are then move them to where they need to be.
 
Code:
rpmbuild -ba spec-file
should work if you have write access to the
Code:
%{_tmppath}
and [code}%{_topdir}[/code] directories. See where they point on your system by running
Code:
rpm --showrc
.

//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top