[Mono-list] Cygwin/Mono compilation problems

Stefan Matthias Aust sma@3plus4.de
Wed, 8 May 2002 11:56:12 +0200


Yesterday night, I tried to rebuild mono from CVS on cygwin.

I downloaded the required precompiled packages and the sources from cvs and
was able to build "mcs" successfully.  However, when trying to build "mono",
I got in trouble.

First of all, it was not obvious for me, that I'm suppost to run
"autogen.sh".  The README points to the web and on download.html, I'm
instructed to run "configure" - which doesn't exist yet.

Then, I've probably a cygwin-problem.  I tracked it down to pkg-config which
complains (using a Windows message box) that it cannot find
libglib-1.3-12.dll.  I've the latest cygwin and *I* can find the lib here:

 $ ls /usr/local/lib/libglib*
 /usr/local/lib/libglib-1.3-12.dll  /usr/local/lib/libglib-1.3.dll.a

Has anybody experienced the same problem? Do I have to set some kind of
LD_LIBRARY_PATH?  Some other environment variable?  Shall I download and
compile a more recent version of pkg-config?   0.12 seems to be current.
When I cd to the lib dir, I can run pkg-config (it will probably look in the
current dir for its dll) and it tells me that it is version 0.8.

Assuming I eventually manage to build mono, how do I install it?  I assume,
a "make install" will install the executables, but will this also install
the dlls from mcs?  I found no "make install" for that project.

TIA,
bye
--
Stefan Matthias Aust   //
www.3plus4software.de // Inter Deum Et Diabolum Semper Musica Est