[Mono-devel-list] Mono on MAC OS X.

Urs Muff umuff at QUARK.com
Sat May 8 15:43:37 EDT 2004


Disable ICU and see if you still have that issue or go back to ICU 2.6.1,
since on Linux most packages use that version.  But mono from CVS is broken
right now, you can use mint.

- Urs

-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Zdravko Tashev
Sent: Friday, May 07, 2004 7:11 AM
To: Paolo Molaro; mono-devel-list at lists.ximian.com
Cc: Kingsley Idehen; Orri Erling; George Kodinov
Subject: [Mono-devel-list] Mono on MAC OS X.


Hi Paolo,

I'm trying to compile Mono from it's CVS. I do the following steps :

Box:
ProductName:    Mac OS X
ProductVersion: 10.3.3
Updated.

Dependency packages:

pkg-config v:0.15.0
glib v:2.2.3
gettext (GNU gettext) v:0.10.40
icu v:2.8
autoconf v:1.8

GC:
Obtained from:
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3alpha5.tar.gz
and
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3alpha6.tar.gz

GC configure:
./configure --enable-threads=pthreads --prefix=/__path_to_gc

environment setings:

export CFLAGS=-I/__path_to_gc
export CPPFLAGS=$CFLAGS
export LDFLAGS=-L/__path_to_gc

On a clean Mono CVS checkout this is how I configure mono:

./autogen.sh --prefix=/Users/ztashev/supp/mono_install --with-gc=boehm

 GC:          boehm
        ICU:         yes. Version: 2.8
        NPTL:        yes
        SIGALTSTACK: no
        Engine:      Building and using the JIT
        2.0 Alpha:   no
        JNI support: no


Using monocharge from web.

The compilation and instalation go without errors.

While compiling the mcs classes :

mcs   -d:NET_1_1 -d:ONLY_1_1 -g /target:exe /out:mcs.exe AssemblyInfo.cs
anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs
class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs
enum.cs ecore.cs expression.cs flowanalysis.cs genericparser.cs iterators.cs
literal.cs location.cs modifiers.cs namespace.cs parameter.cs pending.cs
report.cs rootcontext.cs statement.cs support.cs typemanager.cs
symbolwriter.cs tree.cs CryptoConvert.cs cs-parser.cs
syntax error, got token `CLOSE_PARENS', expecting OPEN_BRACE OPEN_PARENS DOT
COMMA SEMICOLON ASSIGN

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
make[2]: *** [mcs.exe] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

If I disable the GC (by : export GC_DONT_GC=1) it continues somewhat further
and stops again.

Am I doing something wrong in compiling Mono on MacOSX (as outlined above) ?

And are the problems I'm getting someting to be expected ?

Will there be "official" Mono MacOSX binaries to compare with ?

Best regards,
Zdravko Tashev
Developer                        phone: +359 (32) 637 476
OpenLink Software           Web: http://www.openlinksw.co.uk
Universal Data Access & Data Integration Technology Providers.

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list