[Mono-osx] Caveats compiling mono

Bart Masschelein masschel at gmail.com
Fri Nov 21 09:36:37 EST 2008

I successfully compiled the head of mono, albeit with some caveats. My  
install directory is /Users/masschel/mono, which I set using ./ 
autogen.sh --prefix=/Users/masschel/mono. The configuration phase  
works fine. During the make phase, at a certain point I get:

MCS     [default] convert.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/Users/masschel/mono/lib/mono/ 
1.0/mscorlib.dll' directory.

It appears it is looking for mscorlib.dll in the install directory,  
which is obviously not there, it only gets there in the next, install,  

Then I tried, ignoring the error, to 'sudo make install', and after  
some processing, I get

MCS     [default] convert.exe
Cannot open assembly '../../mcs/class/lib/default/mcs.exe': No such  
file or directory.

Indeed that file, or the directory is not there. I created the  
directory, and copied mcs.exe from the basic directory to this new  

[mono] ~/repos/MonoTrunk/mono @ mkdir ../mcs/class/lib/default
[mono] ~/repos/MonoTrunk/mono @ cp ../mcs/class/lib/basic/mcs.exe ../ 

and then I went over the make and make install phase again. And like  
this I have mono ;-).

So there are two issues:

1) During make, the process is looking for packages in the install  
2) During install, it is looking in a directory which is not there.

Just mentioning...


More information about the Mono-osx mailing list