Modular build: build.sh failing at libxcb, libX11 ...
jamey at minilop.net
Wed Nov 7 15:13:52 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
On 11/6/07, Jens Stroebel <dr-xorg at bcsoft.de> wrote:
> While the other parts have no problem with DESTDIR, the build of
> xorg-libs has. It fails first in libxcb (which is pretty simple to fix
> by giving an environment variable to the make of it)
I don't understand. I routinely install libxcb using
make DESTDIR=... install
and it works for me. What are you doing that doesn't work?
> then in libX11 (which gets caused by libtool trying to find *.la files
> in $PREFIX/lib instead of $DESTDIR/$PREFIX/lib). We didn't continue at
> that point and are using another method for xorg-libs ATM.
Similarly, Debian packages of libX11 are being built with
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
and that seems to work for them.
Oh, right, Debian installs the build dependencies on the build system
first. I guess you want to do a series of DESTDIR installs without
copying each installed module into the build environment immediately
after it's built?
I wonder if either unionfs or funionfs, perhaps combined with a chroot,
will let you accomplish what you want?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the xorg