[Mono-list] Building Mono

Joe Mozelesky jmozelesky@netcarrier.com
Wed, 7 Jan 2004 17:31:40 -0500 (EST)


I've been trying to figure out a repeatable build process myself.  It
would seem it just doesn't exist at this point.  Oh, and once you get past
the libgc error, there will be another error, and then another, and then
another.  The build is totally broken.

To get past the libgc error, I downloaded libgc-dev from
http://www.go-mono.org/archive/libgc-dev.zip, unzipped it in my mono build
folder, and copied gc.dll to /usr/lib.

Someone on IRC gave me this link and said they followed the instructions
in it to build the .29 windows binary:
http://lists.ximian.com/archives/public/mono-devel-list/2003-October/002246.html

But I had no luck following those instructions with a vanilla fresh Cygwin
1.5.5-1 full install.

Joe


> I am trying to build Mono from CVS.  I have cygwin working.  I can build
> mcs just fine. I believe I have libgc installed correctly (installed by
> downloading gc6.2.tar.gz into /usr/src, expanding it, and doing
> ./configure; make; make install from /usr/src/gc6.2) but I don't know for
> sure as I am experiencing the following problem when running ./autogen.sh
> - prefix=/usr/local from my mono directory:
>
> Checking gc.h usability... no
> Checking gc.h presence... no
> Checking for gc.h... no
> Checking gc/gc.h usability... no
> Checking gc/gc.h presence... no
> Checking for gc/gc.h... no
> Checking for GC_malloc in -lgc... no
> Error: "GC requested but libgc not found! Install libgc or run configure
> with -with-gc=none."
>
> I'm an experienced developer and Windows guy but have limited knowledge of
> Unix and cygwin so I know I am doing something stupid here.  I checked the
> list archives but found nothing that helped me get past this issue.  I'd
> really like to get this build process working so I can contribute
> effectively in the xml.schema area.  Can anyone point me in the right
> direction?
>
> I ran into a similar problem with glib and got past it just fine.  I
> followed more or less the same process (go get the archive, expand it,
> build it and install it) with the libgc without success.
>
> Here's the deal: if I can get this thing working I will document it so we
> have a repeatable process for morons like me :-).  Note that I do have an
> installed copy of mono 0.29 on the Windows box (not under cygwin).  I just
> want to build the latest as it contains some fixes for my schema issues.
>
> Thanks
> -------------------------------------
> Tom Cabanski
>
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>