[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc2.3 and 2.2



Alessandro Foresi <alefor@gmx.de> writes:
> I need to compile from my "unstable" with libc6-2.3 a program
> for a "stable" system with libc6-2.2.
> I try with download the libc6-2.2-dev, extract it in my home
> directory, then -I/home/alef/libc6-22/usr/include in
> the makefiles for the program and then the debian/rules.
> The package was succesfully created, but the installation
> on "stable" system fails in the configuration stage.
>
> There is a cleaner way to do all this ?

You probably want to use the pbuilder package, and set it up to build
from a chroot environment for stable.

(Where you're probably losing, incidentally, is that when the package
tries to find its dependencies, it finds the system libc6, and looks
in the system dpkg information to determine that this means that the
package depends on the unstable version of libc6.  The chroot
approach, which pbuilder automates, gets around this by having a fake
system in which things are built.)

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: