[Mono-dev] Nullref when clearing TextBox that hasn't been shown yet
rleckett at gmail.com
Sat Oct 30 19:40:48 EDT 2010
Attached is a how-to list of building Mono on OSX that worked for me.
On 10/29/10, darkgoob <jjj at io.com> wrote:
> That is great but HOW do I install your patched version of Mono on OS X? I
> have been trying for days and all is fail. Thanks
> View this message in context:
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
Building Mono on a Mac Snow Leopard
All this was done while logged in as root.
The default compilers are 64 bit (version 4.2) so you need to
set the symlinks to the older 32 bit (version 4.0) compilers.
ln -s c++-4.0 c++
ln -s gcc-4.0 cc
ln -s g++-4.0 g++
ln -s gcc-4.0 gcc
ln -s gcov-4.0 gcov
To set them back
ln -s c++-4.2 c++
ln -s gcc-4.2 cc
ln -s g++-4.2 g++
ln -s gcc-4.2 gcc
ln -s gcov-4.2 gcov
The package sources are kept in
and were obtained from open source web sites (mono-project.com, gnu.org, etc.)
For each package
cd <package folder> (highlite package name with mouse, Cmnd+C, Cmnd+V is your friend)
Build in the following order (version suffix not shown here)
3.) glib (./configure --disable-dtrace)
11.) libgdiplus (see note below)
All of these packages are built by going to the package folder and running
./configure (--flags - see above)
If you mess up then
rm -r *
and start all over again.
If the build is good
cp -a * /Library/Frameworks/Mono.framework/Versions/2.9 (or wherever you want mono put)
The configure file for libgdiplus needs to have the following line commented out:
so that quartz fonts can be picked up as well as freetype fonts.
Comment out "cairo_quartz_font_face_create_for_atsu_font_id" in
if you get compiler errors.
More information about the Mono-devel-list