[Mono-list] GC error building mono on windows

Francisco Figueiredo Jr. fxjrlists@yahoo.com.br
Thu, 30 Jan 2003 23:39:44 -0300 (ART)


 --- John Duncan <jddst19@mac.com> escreveu: 


It seems the problem is in the test for gc.h in the configure script...

If you edit config.log in the mono dir you will see a message saying what test
failed. You will see that there is a error saying "GC_WIN32_THREADS is
redefined" and so, the script says it didn't find the header. 

I know this is ugly, but I could workaround this problem by commenting the line
in the gc.h file where it says:

#if defined(WIN32_THREADS)
# define GC_WIN32_THREADS    <- this is the line which cause the error.
#endif

As the compiler is called with -DWIN32_THREADS and -DGC_WIN32_THREADS I think
this wouldn't hurt. 

I hope it helps.


> The regular make install for GC doesn't copy the files. Pick a place 
> where you usually find headers (/usr/local/include, or /usr/include) and 
> copy all the .h files from the gc6.1/include directory there.
> 
> John
> On Thursday, January 30, 2003, at 04:34 AM, 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)
> >
>  

=====
Regards,
Francisco Figueiredo Jr.

_______________________________________________________________________
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
http://br.busca.yahoo.com/