On 2011-05-28 21:06, X61 usr wrote:
> The bigger question and the reason I’m writing to this forum is to
> discover rules for what things play nice with Opensuse 11.4 and what
> things don’t. Knowing these rules also implies a knowledge of how
> packages are structured and what the differences are between distros.
> My understanding of the package system is that it checks that
> dependencies are fulfilled,
Yes, to some extent. Only the existence of this or that library.
> uses some sort of symlinks to figure out
> where to put files & directory structure and then copies them to that
> location and registers them if necessary.
Er… no. The locations are hardcoded from package creation. And most code
assumes location of libraries and thing since compilation time - earlier,
actually, that is what the configure phase finds out.
> But you do seem to think it won’t
> work. So, if you could tell people more about that thinking, that would
> be great.
It is a known fact about linux, but don’t ask me the details, I’m not a dev
or packager. It works in some cases, and doesn’t on anothers (most).
Think, for example, how a big package like wvmware, intended for several
distributions, does it. It contains inside tomcat, instead of requesting
the system one. A waste of space, but it works.
Would they do it if it wasn’t necessary (for them)? Otherwise they would
have to create different packages for different distros and different versions.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)