[Mono-devel-list] Still trying to get Mono building on Mac OS X...

Quenio Santos Quenio.dos.Santos at ZeroG.com
Sat Sep 6 14:21:58 EDT 2003


Mac OS X has another libtool other than the GNU one. You probably have the
Mac OS X libtool in the PATH instead of the GNU one. The GNU one on Mac OS X
is actually called glibtool. I gave created two scripts (attached) that
easily switch from one to the other. I use them before I make Mono. Don't
forget to type your root password. You should do it like this:

quenio$ gnulibtool
Switched sucessfully to GNU libtool.
[brava:~/Projects/Mono/snapshot/mono]
quenio$ libtool --version
ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)

Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[brava:~/Projects/Mono/snapshot/mono]
quenio$ make
...
quenio$ make install
...
quenio$ maclibtool
Switched sucessfully to Mac OS X libtool.
[brava:~/Projects/Mono/snapshot/mono]
quenio$ 


> From: "Steve Mentzer" <steve at mudflapsoftware.com>
> Date: Thu, 4 Sep 2003 13:29:29 -0700
> To: "Quenio Santos" <Quenio.dos.Santos at ZeroG.com>
> Subject: Re: [Mono-devel-list] Still trying to get Mono building on Mac OS
> X...
> 
> 
> Greetings,
> 
> How did you get ./autogen.sh to work correctly? I installed automake 1.7.4
> (which also installed autoconf).
> 
> When running ./autogen.sh it complains as follows:
> 
> [stimpy:~/mono] stevem% ./autogen.sh --prefix=/usr/mono
> 
> **Error**: You must have `libtool' installed to compile Mono.
> Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz
> (or a newer version if it is available)
> 
> I have libtool 1.5-1 installed via FinkCommander. Are you running a
> different version or was there anything special you needed to do with your
> pathing?
> 
> Thanks!
> 
> Steve
> 
> ----- Original Message -----
> From: "Quenio Santos" <Quenio.dos.Santos at ZeroG.com>
> To: <mono-devel-list at lists.ximian.com>
> Sent: Thursday, September 04, 2003 8:35 AM
> Subject: [Mono-devel-list] Still trying to get Mono building on Mac OS X...
> 
> 
>> Thanks for everybody's help getting passed the initial stages of the
> build.
>> Now, I am getting stuck in the following error:
>> 
>>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/sw/include/glib-2.0
>> -I/sw/lib/glib-2.0/include -D_REENTRANT -I/sw/include/glib-2.0
>> -I/sw/lib/glib-2.0/include -no-cpp-precomp -D_THREAD_SAFE -g -Wall -Wunuse
> d
>> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
>> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
>> -Wcast-align -Wwrite-strings -c aot.c -Wp,-MD,.deps/aot.TPlo  -fno-common
>> -DPIC -o .libs/aot.o
>> aot.c:127:41: macro "g_new0" requires 2 arguments, but only 1 given
>> aot.c: In function `load_aot_module':
>> aot.c:127: `g_new0' undeclared (first use in this function)
>> aot.c:127: (Each undeclared identifier is reported only once
>> aot.c:127: for each function it appears in.)
>> aot.c: In function `cond_emit_method_label':
>> aot.c:484: warning: int format, long unsigned int arg (arg 3)
>> aot.c: In function `cond_emit_klass_label':
>> aot.c:510: warning: int format, long unsigned int arg (arg 3)
>> aot.c: In function `cond_emit_field_label':
>> aot.c:537: warning: int format, long unsigned int arg (arg 3)
>> aot.c: In function `mono_compile_assembly':
>> aot.c:682: warning: int format, long unsigned int arg (arg 3)
>> aot.c:740: warning: int format, long unsigned int arg (arg 3)
>> aot.c:768: warning: int format, long unsigned int arg (arg 3)
>> aot.c:772: warning: int format, regmask_t arg (arg 3)
>> make[4]: *** [aot.lo] Error 1
>> make[3]: *** [all] Error 2
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> 
>> 
>> I am not sure this is something caused by a recent checkin or, if it is
>> something specific one Mac OS X.
>> 
>> Any help is really appreciated.
>> 
>> Thank you in advance,
>>    Quenio
>> 
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>> 
> 
> 
> 
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030906/7a4dcbfd/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030906/7a4dcbfd/attachment-0001.pl 


More information about the Mono-devel-list mailing list