cannot locate headers when using DESTDIR + mesa question
Wynn TEE
wynntee at yahoo.com
Sat Jul 29 15:36:45 PDT 2006
Hi, i'm trying to compile X11R7.1 from source using the
build-from-tarballs script, but I ran into some trouble.
I tried to install using
DESTDIR=/fakeroot ./build-from-tarballs.sh -m /home/user/Mesa-6.5 /usr
but libXau complained about missing headers because the header files
got installed under /fakeroot/usr/include instead of /usr/include. I
noticed that the build-from-tarball.sh script accommodates for the
DESTDIR environment with regards to LD_LIBRARY_PATH, PKG_CONFIG_PATH,
etc. but it doesn't do anything to address the header files.
I tried to fix this by adding
CPPFLAGS='-I/fakeroot/usr/include'
to the earlier command. This solved the problem for libXau, but further
down the installation process, another package (i can't remember which
now) complained about missing headers during its "./configure" stage.
Any idea how I can fix this while keeping DESTDIR?
I tried without DESTDIR and it works until I stumbled upon another
problem - Mesa. I don't quite understand whether I'm meant to install
Mesa BEFORE running build-from-tarballs, or whether I'm simply meant to
include the path to the Mesa sources. It doesn't make sense installing
Mesa before Xorg, because Mesa requires certain X headers and libraries
(please correct me if i'm wrong).
The LinuxFromScratch instructions are to install Mesa just after the
Xorg libraries but before the Xorg applications. If this is true, then
shouldn't the build-from-tarballs.sh script accommodate for this?
Sorry for the long email. I will appreciate any help I can get. Thank
you.
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
More information about the xorg-modular
mailing list