[Mono-list] Compiling latest CVS on OS/X

Eto eto@shaw.ca
Mon, 15 Sep 2003 13:27:32 -0700


I have been trying to get mono to compile on OS/X 10.2, with the
December 2002 tools, with many problems...  I know there's been a lot of
other discussions with building on OS/X, but have not seen a solution to
this problem.

I have installed the following manually:

gettext-0.12.1
libiconv-1.9.1
pkgconfig-0.15.0
libtool-1.4.1
glib-2.2.3
autoconf-2.53**

**NOTE: mono uses an now obsolete option in autoconf (--include replaced
-l), so I had to use the autoconf that came with the dev tools instead
(2.52).. Guess this should be fixed or noted?  The install says to use
2.53, but it doesn't work with it.

To compile:

setenv CVSROOT :pserver:anonymous@anoncvs.go-mono.com:/mono
cvs -z3 co mcs mono gtk-sharp
cd mono
setenv ACLOCAL_FLAGS "-I /usr/local/share/aclocal"
./autogen.sh --prefix=/usr/local
MAKE

When I compile, I get the following error:

ranlib .libs/libmonoutils.al
ranlib: warning: cannot infer operation mode from
`.libs/libmonoutils.al'
ranlib: you must specify a MODE
Try `ranlib --help' for more information
MAKE[3]: *** [libmonoutils.la] Error 1
MAKE[2]: *** [all-recursive] Error 1
MAKE[1]: *** [all-recursive] Error 1
MAKE: *** [all] Error 2

One thing I noticed, is that the extension is .al, but the MAKE error
specifies .la   ..  I'm thinking it's just a typo for the extension of
the lib?  I'm not too familiar with these things though, and have no
idea where to change this.

I would like to know if there's a Wiki or somewhere I could put all this
information on how to build in OS/X.

Cheers,

Curtis.