[Mono-dev] problem compiling on cygwin.

Lucas Meijer lucas at lucasmeijer.com
Sat Nov 29 07:58:50 EST 2008

Robert Jordan wrote:
>> When I do a "which mcs" I get:
>> /cygdrive/h/Program\ Files/Mono-2.0/bin/mcs
>> which seems okay to me.
> The space in "Program Files" might break the build system.
> At least it did it in the past.
> Try to reinstall Mono into c:\Mono\, adjust the path,
> re-autogen and rebuild.

To anybody running into this in the future:  I got past this bump by 
doing a make clean after changing mono
to live in a path without spaces.

The next bump was after mono had succesfully compiled, this error would 
come up when trying to run mono:
"entry point g_spawn_command_line_sync_utf8 not found in libglib-2.2.0".

I'm pretty new at this, but I believe this is because the windows build 
(http://www.mono-project.com/Compiling_Mono#Windows_Compilation) are out 
of date. It lists a glib and a glib dev package as dependencies.  
However, the error above went away as soon as I replaced those glib's 
linked to in the instructions by a more recent libglib downloaded from 
gtk. (http://www.gtk.org/download-windows.html)

It looks like this was the last bump. After a few full days of pulling 
my hair out, I have a self built mono on windows, with monoco.  Hurray!

Bye, Lucas

More information about the Mono-devel-list mailing list