On Tue, 06 Mar 2012 18:22:32 -0600 DJ Lucas <[email protected]> wrote:
> What is common among these packages? Seems maybe this should be included > in a very early pkg-config file someplace. I don't know if there is a common dependency, but I also wondered about the pkgconfig aspect of it. With mesa-demos (which Ken mentioned in his original email) it helped if I added this line to /usr/lib/pkgconfig/egl.pc: Requires: x11 But that still left the problem of how to pull in libpthread. I wondered about adding it to the Libs in x11.pc but decided against it. Lots of things use libX11 and compile fine. Very few have this error. Only about 10 of the things I install (many of them not in the book) need their LIBS tweaking. With mesa-demos, for instance, I think the cleanest way to configure it is: ./configure --prefix=/usr EGL_LIBS="-lX11 -lpthread -lEGL" Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
