On Mon, 2005-09-12 at 11:48 +0100, Jorge Almeida wrote: > I added nptl to my USE variables and tried to emerge glib. > > checking whether to compile timeloop... yes > checking if building for some Win32 platform... no > checking for thread implementation... posix > checking thread related cflags... -D_REENTRANT > checking for pthread_create/pthread_join... no > checking for pthread_create/pthread_join in -lpthread... no > checking for pthread_create/pthread_join in -lpthread32... no > checking for pthread_create/pthread_join in -lpthreads... no > checking for pthread_create/pthread_join in -lthread... no > checking for pthread_create/pthread_join in -ldce... no > configure: error: I can't find the libraries for the thread > implementation > posix. Please choose another thread implementation or > provide information on your thread implementation. > You can also run 'configure --disable-threads' > to compile without thread support. > > !!! Please attach the config.log to your bug report: > !!! /var/tmp/portage/glib-2.6.5/work/glib-2.6.5/config.log > > !!! ERROR: dev-libs/glib-2.6.5 failed. > !!! Function econf, Line 485, Exitcode 0 > !!! econf failed > !!! If you need support, post the topmost build error, NOT this status > message. > > The relevant line of /var/tmp/portage/glib-2.6.5/work/glib-2.6.5/config.log: > $ ./configure --prefix=/usr --host=i686-pc-linux-gnu > --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share > --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu > --with-threads=posix --disable-static --enable-gtk-doc > > It seems that "nptl" is not being taken into account. Is this normal for > glib? If so, what can I do to provide the missing libraries? > > (I know my system is somewhat broken, I'm just trying to fix it be > emerging some packages I suppose might be relevant...) > > -- > Jorge Almeida
Did you an ``emerge --newuse world'' before you tried to install further packages? Just a thought. I think I've seen nptl mentioned in the installation log of glibc. What if glibc don't know about this? Frank PS: I could be wrong. Don't have a gentoo installation accessible right now. -- gentoo-user@gentoo.org mailing list