[Mono-devel-list] FreeBSD 5.2.1 with Boehm GC configure problem
Will McCutchen
mccutch at freeshell.org
Tue Apr 20 20:34:45 EDT 2004
Hi all-
I've started trying to get Mono 0.31 and daily snapshots to compile on my
FreeBSD 5.2.1 system, and I've run into a couple of problems.
One is just getting it to recognize that I have libgc installed. I don't
know if I need to be (or should be) trying to get Mono to build with
boehm-gc, but here's what happens when I try.
1) I have the Boehm garbage collector installed like so:
[~] $ ls /usr/local/lib | grep libgc
libgc.a
libgc.so@
libgc.so.1*
libgccpp.a
libgccpp.so@
libgccpp.so.1*
and
[~] $ ls /usr/local/include | grep gc
gc/
gc.h
gc_allocator.h
gc_config_macros.h
gc_cpp.h
gc_local_alloc.h
gc_pthread_redirects.h
gc_typed.h
so I thought I might be able to to a `configure --with-gc=boehm`, but that
gives me the following error:
[~/Downloads/mono] $ ./configure --with-gc=boehm
(...snip...)
checking for pkg-config... /usr/local/bin/pkg-config
checking for glib-2.0 >= 1.3.11... yes
checking BASE_DEPENDENCIES_CFLAGS... -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
checking BASE_DEPENDENCIES_LIBS... -L/usr/local/lib -lglib-2.0 -liconv
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
configure: error: "GC requested but libgc not found! Install libgc or run
configure with --with-gc=none."
Does anyone have any suggestions for me to try? Again, maybe I shouldn't
be trying to use the boehm garbage collector, I don't know.
Any help is greatly appreciated.
- Will McCutchen (mccutch at freeshell.org)
More information about the Mono-devel-list
mailing list