[Mono-list] glib2, configure and Mac OS X

Steve Mentzer steve.mentzer@mullinconsulting.com
Wed, 30 Oct 2002 11:08:50 -0800

I have been fighting many of the same battles. 

I know of at least two developers attempting to get mono up on darwin. All have been met with challenges. What is frustrating is the lack of public information.

I am **so** ready to start working on the darwin port, but I am unsure where to start. Given the fact that my available time is limited (as with everyone here), I don't want to waste time repeating the same learning curve that someone else struggled with.

I really do think that there needs to be a clean, unambiguous and *current* FAQ for getting mono up and running on darwin & os/x. That way, folks that wish to contribute will be able to minimize pain!

I would gladly volunteer to piece together the relevant information. But where is it?

-----Original Message-----
From: Brian og Louise [mailto:brianlouise@mail.dk]
Sent: Wednesday, October 30, 2002 10:35 AM
To: mono-list@ximian.com
Subject: [Mono-list] glib2, configure and Mac OS X

Hello all

Since there is a certain lack of instructions on getting mono running on 
Mac OS X, I thougt I would throw my self at the task and see how far I got.

First of I downloaded the 0.16 version of the distribution, and noted that 
it required glib version 2, which I then downloaded from the GTK website. 
This again required pkgconfig (using version 0.14.0), which fortunatly is 
part of fink for OS X. So after downloading and installing fink I went to 
the task of trying to compile glib2.

This did not go so well ... as in it failed. To make a long story short it 
missed the library "libiconv" and the header files "libintl.h" and "iconv.h".
Since I am not so well known around the gnu auto tools and especially in 
combination with Mac OS X, I went about it in the following way:

Since all the above mentioned files is part of fink I just made symbolic 
links from them to /usr/lib and /usr/include, where I guessed configure 
would look. This is done as follows:

(pwd == /usr/lib/)
sudo ln -s /sw/lib/libiconv.2.0.4.dylib libiconv.dylib

(pwd == /usr/include/)
sudo ln -s /sw/include/libintl.h libintl.h
sudo ln -s /sw/include/iconv.h

This is how far I have come at this point in time, since now the make 
process is complaining!
But if anybody want to have a go at getting mono up and running on OS X, 
this is a start, and hopefully somebody on this list can tell me if this is 
the right direction or not.

Regards Brian

Mono-list maillist  -  Mono-list@ximian.com