[Mono-list] autogen.sh fails at pthread on cygwin

Dick Porter dick@ximian.com
Sun, 23 Sep 2001 16:39:57 +0100


On Sun, Sep 23, 2001 at 12:48:47AM -0400, Miguel de Icaza wrote:
> > ...
> > checking for glib-config... /usr/local/bin/glib-config
> > checking for GLIB - version >= 1.2.0... yes
> > checking for pthread_create in -lpthread... no
> > configure: error: Cannot find libpthread
> > 
> > I found a pthread.h on my system in /user/include, but nothing that looks
> > like a library.  In glib there is libgthread, which seems similar, and this
> > error does come just after the GLIB check...

It's not glib. Somewhere on your cygwin setup you should have a
libpthread.something.

> > 
> > Can anyone help point me in the right direction?
> 
> I think that the test in configure.in should be replaced to not use
> pthreads on Windows and use the native Win32 threading operations
> instead.  

Well, the next test would be for windows threading, or dce or whatever. We
need the support code for that too though :)

I'm just knocking up a set of dummy routines now that should get people
past the configure check.

- Dick