[Mono-list] Building Mono under Cygwin

Daniel Morgan danielmorgan at verizon.net
Tue Sep 13 18:56:28 EDT 2005


Make sure you have the bin directory of your mono installation in your 
PATH first.

export PATH=/cygdrive/c/mono-1.1.8.3/bin:$PATH

This article may help too.
http://www.ondotnet.com/pub/a/dotnet/2005/02/07/monowindows.html?page=2

You do not need the binaries for GLIB2 from the download page.  Use what 
is available with the installer.

Michael Thomsen wrote:

>When I try to run make under Cygwin, Monoburg won't run because it
>cannot find libglib2.dll. I have both the GLIB2 download from the
>compilation page on the Mono site and GLIB2 from the Mono installer in
>my path as well as a properly set PKG_CONFIG_PATH variable. Any
>thoughts on what I should do?
>
>
>On 9/13/05, Daniel Morgan <danielmorgan at verizon.net> wrote:
>  
>
>>Uninstall the glib2, gtk+ 2, gnome2 stuff from cygwin.
>>Download install the lastest windows installer for mono.
>>Build on Cygwin.
>>Make sure the environmment variable PKG_CONFIG_PATH is set to
>>C:\mono-1.1.8.3\lib\pkgconfig or wherever you have Mono installed.
>>Do not let spaces be in the installation path.
>>Have mono and mcs checked out to a prefix.
>>Start building in mono via:
>>./autogen.sh --prefix/my/mono/prefix
>>make
>>make install
>>
>>Michael Thomsen wrote:
>>
>>    
>>
>>>I can't get Mono to build from SVN under Cygwin. Everytime I try to
>>>run configure, it says that it cannot use the glib2 package that
>>>Cygwin provides and I even have VC7 in the path and have the binaries
>>>for GLIB2 provided on the Mono website for building under windows.
>>>
>>>Could someone tell me how I build Mono under Cygwin so that I have
>>>everything in place to build it under Visual Studio .NET 2005?
>>>_______________________________________________
>>>Mono-list maillist  -  Mono-list at lists.ximian.com
>>>http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>  
>



More information about the Mono-list mailing list