Re: rpm dependencies failure

Eric Sandall <[email protected]> Tue, 17 Feb 2004 09:30:08 -0800
Newsgroups gmane.network.directoryadmin
Message-ID <[email protected]>
Quoting "Manuel Amador (Rudd-O)" <[email protected]>:
> El vie, 13-02-2004 a las 13:17, Eric Sandall escribió:
> 
> > I left the binary distros because of constant problems like this. ;)
> 
> Yes, there are no distro-agnostic packages left right?
> 
> I wanted to start a "How to make RPMs for any distro" web page.  I have
> a couple tips myself.  Does anyone know of any strategies or tricks in
> composing a spec file for a distro-agnostic RPM target?  I could
> incorporate them into a simple web page for that purpose.
> 
> > 
> > -sandalle

Well, there's always just using the source tarballs of the package, but then the
files installed won't be tracked. Slackware can do this for you, along with the
source-based distributions (Source Mage, Lunar, Sorcerer, Gentoo, Rock, etc.),
but the problem with this approach is it takes longer to install, since you
have to wait for the package to compile, instead of just copying already-built
binaries over.

I've never made a .spec file, but you could probably just look at the ones
offered and modify them to follow the FHS[0] and LSB[1], but you'll still have
the problem of needing the exact versions of the libraries installed (unless
you build everything statically, which would fix this problem, but make all the
binaries larger).

-sandalle

[0] http://www.pathname.com/fhs/2.2/
[1] http://www.linuxbase.org/

-- 
PGP Key Fingerprint:  FCFF 26A1 BE21 08F4 BB91  FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall                     |  Source Mage GNU/Linux Developer
[email protected]                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click