Making an RPM Distribution play nicely with ./configure && make && make install packages

Tim Wunder tim
Mon May 17 12:00:18 PDT 2004


On 3/5/2004 10:19 AM, I believe that James McDonald wrote:

> I use Redhat Fedora Core 1. I have installed apt4rpm and done the usual 
> apt-get upgrade etc. So once you get to that stage you then have to 
> compile from source to get 'the latest'.
> 
> Typically I also install packages that I don't bother to role into an 
> rpm but they are required by other components I want to install via rpm 
> / apt-get.
> 
> How do you tell apt-get / rpm to either ignore that it can't see the 
> package in it's database or update the rpm database with the package 
> despite it wasn't installed via rpm?
> 

You could use checkinstall when installing programs from source. Then 
the packages will be in the RPM database. But that's certainly not a 
foolproof solution.

Tools such as apt/rpm and yum are designed to resolve dependancies 
automagically. If you want to bypass those tools to get the latest and 
greatest of any particular program, then you've decided that you don't 
want to (in at least some cases) use those tools anymore. Download the 
RPMs you want and use rpm to install them, and resolve any dependencies 
yourself either by installing RPMs of what the package wants, or using 
--nodeps to bypass rpm's dependancy checking (if you're sure the 
dependancy is met thru some other means, like an install from source.)

HTH,
Tim





More information about the Linux-users mailing list