On 3/23/07, Jorge Almeida <[EMAIL PROTECTED]> wrote: > On Fri, 23 Mar 2007, Dan Nicholson wrote: > > > > > OK, here's the issue. For whatever reason, gcc is not being told to > > link in /opt/xorg/lib. If things were working properly, you'd see > > -L/opt/xorg/lib around where it says -L/usr/X11/lib. Something in the > > Python build isn't adding this. > > > > Actually this shouldn't be a problem at all. There should be > > compatibility symlinks from /usr/X11/lib to $XPREFIX/lib. Hmm, it > > looks like we don't do that with Xorg-7. What version of X did you > > install? > xorg 7.1
OK. I guess this was probably an oversight when writing the Xorg-7 pages. Although most modern applications will use pkg-config to find out how to build against X, we should probably include the compatibility links by default like was done for Xorg-6.9.0 and is done for XFree86. But that wouldn't solve this problem since libX11 doesn't live in /opt/xorg/lib/X11. Now I'm looking at the Python sources and I see that they're just guessing a sample of hardcoded paths and don't look in /opt/xorg. Try this: sed -i 's%/usr/X11R6%/opt/xorg%' setup.py before building python. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
