[Mono-list] Making MCS --> Problems trying to make glib under cygwin

Brian Jepson bjepson@oreilly.com
Fri, 28 Sep 2001 14:44:00 -0400 (EDT)

On Fri, 28 Sep 2001, Masbout, Abel (A.) wrote:

> Hi, Could anybody help me?
> I've been trying to make mcs and the class libraries. I've followed
> the necessary steps from http://www.go-mono.com/download.html, but I
> ran into some problems:
>  - I've installed Cygwin successfully.
>  - I've downloaded GLIB, from: 
>    ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz 
> Once "untared" the glib distribution: $ tar xzvf glib-1.2.10.tar.gz, 
> I tried to configure it:
>       $ ./configure --prefix=/usr
>          That seemed to work fine, so next I typed:
>       $ make
>          But, after a few seconds, I got the following error messages:
>             gstrfuncs.c: In function `g_strsignal':
>             gstrfuncs.c:705: conflicting types for `strsignal'

I've run into the same problem - you need a patch, available here:


Perhaps this link should be added to the download.html page?
I don't think cygwin comes with libtool, either, so perhaps a link
to libtool would be helpful as well.

P.S. Does it matter which order you install libtool and glib in?
I had trouble with them until I 1) used --prefix=/usr with both and 
2) installed libtool first - this seemed necessary in order for glib to
update some macros that libtool used.