[Mono-list] Cygwin/Mono compilation problems

Chris J. Breisch cjbreisch@altavista.net
Wed, 8 May 2002 06:36:04 -0500


Indeed, it's the only reliable way I've found to build it in Cygwin.
Well, until this weekend, anyway.  It builds properly again now, though.


Chris J. Breisch, MCSD, MCDBA



-----Original Message-----
From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com] On
Behalf Of Daniel Morgan
Sent: Wednesday, May 08, 2002 6:19 AM
To: 'Stefan Matthias Aust'; mono-list@ximian.com
Subject: RE: [Mono-list] Cygwin/Mono compilation problems

Yesterday, to install mono using mono-build-w32.sh on cygwin,
I had to use cygwin setup to uninstall mingw 1.3 and w32api 1.3.  I
installed mingw 1.2 and w32api 1.2.  I also uninstalled the pkgconfig
that came with cygwin.  I had to manually remove the pkg.m4 file from
/usr/share/aclocal too.

If you use the build script named mono-build-w32.sh, you don't need to
run autogen.sh, configure, make, nor make install.  It downloads from
cvs mono and dependencies (pkgconfig, glib2.0, libintl, libgc, and
libiconv), builds, and installs mono and its dependencies for you.
Mono-build-w32.sh is the most easiest and less error prone way to build
mono on Windows.

-----Original Message-----
From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com] On
Behalf Of Stefan Matthias Aust
Sent: Wednesday, May 08, 2002 5:56 AM
To: mono-list@ximian.com
Subject: [Mono-list] Cygwin/Mono compilation problems

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



_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list