[Mono-list] autogen.sh fails at pthread on cygwin
Miguel de Icaza
miguel@ximian.com
23 Sep 2001 00:48:47 -0400
> Since pthread was added to the build on mono, I haven't been able to figure
> out how to correct the failure I get:
>
> ...
> 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...
>
> 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.
We have not coded support for other thread systems in the cvs yet,
indeed, we could use some help by someone who knows the Win32 api.
miguel.