[Mono-list] Mac OS X build error...

Jonathan LaCour panix-lists@skinnee.net
Sun, 26 Jan 2003 20:09:50 +1300


Greetings,

Just getting ready to start working for a company that heavily uses 
.NET, and I am interested in starting learning with mono.  I have a Mac 
OS X 10.2.3 powerbook and I tried compiling and installing mono as 
follows.  First, I compiled and installed the mono-0.19.tar.gz package, 
and it worked without a hitch.  However, when I attempt to compile mcs, 
I get a problem, as below:

> ~$ make -f makefile.gnu
> if ! which mcs; then \
>         echo You must have a C\# compiler installed to continue.; \
>         echo This is typically provided by \'mono\'.; \
>         echo Read INSTALL.txt for details.; \
>         exit 1; \
> fi;
> /usr/local/bin/mcs
> for i in jay mcs class mbas nunit nunit20 monoresgen ilasm tools ; do \
>         make -C $i -f makefile.gnu all || exit 1; \
> done
> make -f makefile linux
> make[2]: Nothing to be done for `linux'.
> mcs /target:exe  -o mcs.exe AssemblyInfo.cs assign.cs attribute.cs 
> driver.cs cs-parser.cs cs-tokenizer.cs tree.cs location.cs cfold.cs 
> class.cs codegen.cs const.cs constant.cs decl.cs delegate.cs enum.cs 
> ecore.cs expression.cs genericparser.cs interface.cs literal.cs 
> modifiers.cs namespace.cs parameter.cs pending.cs report.cs 
> rootcontext.cs statement.cs support.cs typemanager.cs
>
> ** (/usr/local/bin/mcs.exe:625): WARNING **: Using non-atomic 
> functions!
> /usr/local/bin/mcs: line 2:   625 Illegal instruction     
> /usr/local/bin/mint /usr/local/bin/mcs.exe "$@"
> make[1]: *** [mcs.exe] Error 132
> make: *** [all] Error 1

Any ideas?

  - Jonathan