[Mono-list] GC error building mono on windows

Jean-Marc André jean-marc.andre@polymtl.ca
Mon, 10 Feb 2003 15:54:02 -0500


Hi,

I had the same problem.
If it still doesn't work, try this: in the configure.in file replace 
"mno-cygwin" by "mcygwin" on the line 20 and check your gc.h is in 
something like /usr/include or /usr/local/include.
Then re-run autogen.sh

Hope this helps

JM



John BouAntoun wrote:

> Hi guys,
>
> This is my first post to the mailing list. Appologies about the html 
> mail, but i'm using the web interface to my office email.
>
> I am running the lateste mono-build-w32.sh and get the following error:
>
> ...
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> checking for sys/filio.h... no
> checking for sys/sockio.h... no
> checking for netdb.h... no
> checking for utime.h... no
> checking for semaphore.h... no
> checking for elf.h... no
> checking for wchar.h... yes
> checking size of void *... 4
> checking for pkg-config... /usr/bin/pkg-config
> checking for glib-2.0 >= 1.3.11... yes
> checking BASE_DEPENDENCIES_CFLAGS... 
> -I/monocvs/install/include/glib-2.0 -I/mono
> cvs/install/lib/glib-2.0/include
> checking BASE_DEPENDENCIES_LIBS... -L/monocvs/install/lib -lglib-2.0 
> -lintl -lic
> onv
> checking for gc.h... no
> checking for gc/gc.h... no
> checking for GC_malloc in -lgc... yes
> configure: error: Found libgc but not its header files! You may need 
> to install
> them by hand.
>
>
> My setup is as follows:
>  - full fresh mono, mcs and xsp get from cvs
>  - /monocvs/mono, /monocvs/mcs, /monocvs/xsp folders contain cvs files
>  - running /monocvs/mono-build-w32.sh
>  - it creates a directory called /monocvs/install
>
> Help with this would be appreciated, I actually think it's a bug in 
> the make file, but have no real idea how to read a make file.
>
> jba (aka SecretSquirrel)
>