Re: glib bug(?)



Szabo, Balazs wrote:
> 
> Hi!
> 
> I  downloaded  the glib  from  the  cvs, and  I  got  a message  in  the
> configure:
> 
> [...]
> checking for preceeding underscore in symbols... no
> checking for dlerror... yes
> checking for pthread_cond_init in -lpthread... no
> checking for pthread_attr_init in -lpthreads... no
> checking for PRP_NewNakedCondVar in -lnspr21... no
> checking  for thread  implementation... configure:  warning: You  do not
> have any known  thread system on your computer. glib will  not be thread
> safe on your computer. none
> checking necessary linker options...
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> [...]
> 
> I  have glibc2  isntalled,  why  I need  pthreads?  I  knew that  glibc2
> contains threading support, isn't it?

This is a warning message you can ignore.

GLib currently doesn't act like Gtk+ and discover your thread libraries,
you have to tell it by hand.

glibc2 does indeed contain threading support, so you need to do

./configure --with-threads=posix

	Jeff






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]