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

Nick Drochak ndrochak@gol.com
Mon, 24 Sep 2001 09:15:30 +0900


> -----Original Message-----
> From: Dick Porter [mailto:dick@ximian.com]
> Sent: Monday, September 24, 2001 12:40 AM
>
> 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.
>

I couldn't find any libpthread.* files on my system.

> > >
> > > 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

Dick,

Your changes to configure.in, etc. cleared up the problem I was having.  I
didn't even have to learn about thread programming (yet :).

Thanks,
Nick