On 6 March 2010 14:02, Baho Utot <[email protected]> wrote: > I am trying to build libdrm > > I get this error from configure > > checking pkg-config is at least version 0.9.0... yes > checking for PTHREADSTUBS... configure: error: Package requirements > (pthread-stubs) were not met: > > No package 'pthread-stubs' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS > and PTHREADSTUBS_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > > Am I missing a dependency or am I missing something in the kernel? > > Thanks > > -- You're missing pthread-stubs http://www.linuxfromscratch.org/blfs/view/svn/general/libpthread-stubs.html
And probably some or all of the xcb stack, e.g. http://www.linuxfromscratch.org/blfs/view/svn/general/libxcb.html In general, when you have an unmet dependency you need to look at the configure script if the message is not definitive. Sometimes './configure --help | less' is sufficently helpful, but that is uncommon. More generally, you need to look for the capitalized symbolic name (PTHREADSTUBS) to find which package(s) pkg-config is looking for. If you don't know, it's sometimes easier to find packages which are in the book if you use longindex.html instead of index.html. ĸen -- After tragedy, and farce, "OMG poneys!" -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
