On 15 Feb 2002 at 20:25, USM Bish wrote:
> > Wish it could generate dependencies by running ldd on binaries 
> > automatically....:-)
> Could not understand this. The source will  never compile if the
> required development libraries are missing. By all probabilities,
> for most packages with configure script, it would  get  stuck in
> the Makefile creation itself. No self-compiled binary ever has a

Ch... Not that...The generated rpm doesn't have any dependency in it's spec 
file.

If a package gets compiled and rpm is generated, it should do following..

1)Find out binaries..
2)Run ldd on binaries to find out dependent libraries.
3)For each library run rpm -qf <libname>
4)Add those package name as dependencies..

E.g. if I createa postgres rpm using checkinstall, it won't have sfio as it's 
dependency. So it can get installed on a machine which doesn't have sfio.. ow 
that's bad..;-)

 Give more more features and I will give you more feature requests..;-)

 Shridhar

P.S. Anybody tried Postgres7.2. I have tarball downloaded but don't have a 
machine to test on..

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to