[Mono-list] Latest mono for Cygwin
David Dawkins
david@dawkins.st
Wed, 30 Jan 2002 18:09:34 +0000
Wow! This should be put on the the website. I'll try this
out when I get home.
Thanks!
David
>From: Daniel Lewis <dihlewis@yahoo.co.uk>
>To: david@dawkins.st, mono-list@ximian.com
>Subject: Re: [Mono-list] Latest mono for Cygwin
>Date: Wed, 30 Jan 2002 17:26:36 +0000 (GMT)
>
> > I can't get it to build either, due to problems in glib. I kind
> > of gave up, concluding that everyone was too busy to help.
>
>Hi David,
>
>I don't know if you were having the same problems I was with glib, but if
>it
>helps I can go through what I did to get glib working. It seems Cygwin
>compilation is quite a recurrent topic on this list, so maybe it's a good
>idea
>if we all pool our knowledge of the area.
>
>I did this from a clean install of the latest version of Cygwin (after
>accidently trashing my old copy :) Here's what I can remember doing:
>
>1. pkg-config
>
>Download pkg-config.
>
> http://www.freedesktop.org/software/pkgconfig/
>
>Untar and change the return type of strsignal on line 674 to const char:
>
> extern const char *strsignal (int sig);
>
>Configure and compile:
>
> ./configure --prefix=/usr
> make && make install
>
>2. Native glib
>
>I downloaded the following files from the Win32 GIMP project:
>
> http://www.gimp.org/~tml/gimp/win32//new-downloads.html
>
> glib-1.3.12-20020101.zip
> glib-dev-1.3.12-20020101.zip
> libiconv-1.7.zip
> libiconv-dev-1.7.zip
> libintl-0.10.40-20020101.zip
>
>(Don't bother with the pkg-config there because we want a Cygwin compiled
>version that understands Unix filenames.)
>
>Make a directory to put this distribution into. They're native libraries,
>so
>you probably want to keep them well out of /usr which is for all your
>Cygwin
>libraries, or you may end up clobbering stuff (like gettext). I made a new
>directory:
>
> mkdir /usr/native
> find *.zip -exec unzip -d /usr/native {} \;
>
>Now there are two autoconf files in this distribution, so I just copied
>these
>into my main aclocal directory:
>
> cp /usr/native/share/aclocal/*.m4 /usr/share/aclocal/
>
>(Maybe there's an environment variable for aclocal - that would be a better
>solution.)
>
>There are also some pkg-config files that come with this distribution:
>
> /usr/native/lib/pkg-config/*.pc
>
>If you look at these files, you'll see the 'prefix' variable is coded as
>/target. Either edit the files and change this to /usr/native, or else just
>make a symlink from /usr/native to /target.
>
>3. Set your paths
>
>export PATH=$PATH:/usr/native/lib
>export PKG_CONFIG_PATH=/usr/native/lib/pkgconfig
>
>That should be it... I can't remember whether these packages needed the
>MSVCRTD.DLL library or not.
>But it doesn't hurt to have a copy of that in your SYSTEM32 directory.
>
>4. Compile mono
>
>This is about as far as I got. If you already got this far, or if you got
>any
>further than this I'd be happy to hear about it.
>
>Thanks,
> Dan.
>
>
>
>--- David Dawkins <david_j_dawkins@hotmail.com> wrote:
>
> > >From: Daniel Lewis <dihlewis@yahoo.co.uk>
> > >To: mono-list@ximian.com
> > >Subject: [Mono-list] Latest mono for Cygwin
> > >Date: Wed, 30 Jan 2002 15:59:48 +0000 (GMT)
> > >
> > >Hi
> > >
> > >I was wondering what the latest snapshot date is that anyone has got to
> > >compile
> > >under Cygwin. I've been trying to compile the CVS but it breaks when it
> > >enters
> > >the metadata directory. (socket-io: is it supposed to be using Cygwin
> > >sockets
> > >or Winsock?)
> > >
> > >Any other advice would be much appreciated.
> > >
> > >Thanks,
> > > Dan.
> > >
> > >
> > >__________________________________________________
> > >Do You Yahoo!?
> > >Everything you'll ever need on one web page
> > >from News and Sport to Email and Music Charts
> > >http://uk.my.yahoo.com
> > >
> > >_______________________________________________
> > >Mono-list maillist - Mono-list@ximian.com
> > >http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
>
>__________________________________________________
>Do You Yahoo!?
>Everything you'll ever need on one web page
>from News and Sport to Email and Music Charts
>http://uk.my.yahoo.com
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com