[Mono-list] Troubles compiling mono on cygwin

Dick Porter dick@ximian.com
04 Nov 2002 10:56:43 +0000


On Sat, 2002-11-02 at 19:04, Norbert Harrer wrote:
> Hi.
> 
> This is my first time compiling mono on cygwin. Unfortunately I am
> playing around with it since two days now without success.

CVS mono built for me on cygwin on Thursday (when I fixed a problem in
mono/interpreter/Makefile.am that I introduced when fixing the makefiles
for automake 1.6).

> 
> I am using mono-build-w32.sh. It downloaded the mono source code and
> some packages, ran autogen.sh and make. But make failed because of
> some funny lines in mono/mono/Makefile [see makefile log 1 at end].
> Here are the lines that caused the failure (line 310):
> 
> if PLATFORM_WIN32
>         arch monograph interpreter jit tests benchmark
> else
>         arch monograph interpreter jit tests benchmark handles
> endif

Very strange, this hasnt been changed in months.

> 
> Somewhere else I read about using the devel version of automake if
> something goes wrong. So I removed the two lines which set AUTO_STABLE
> and AUTO_DEVEL to /usr/autotool/stable in mono-build-w32.sh. And
> hurray, the newly generated Makefiles compiled away quite a while.
> 
> Until they hit mono/mono/jit [see makefile log 2].

Yes, this breaks on cygwin unless you use the stable autotools.  It
looks to me like the devel libtool is broken.


> autoconf-devel:  2.53a-1
> autoconf-stable: 2.13-4
> automake-devel:  1.6.2-1
> automake-stable: 1.4p5-5
> gcc:             3.2-1
> gcc-mingw:       3.2-20020817-1
> make:            3.79.1-7
> mingw-runtime:   2.2-1

I have identical autoconf and automake packages installed, but gcc 2.95
and mingw-runtime 2.1-1.  Neither of those should effect automake that
way.

- Dick