[Mono-list] problem on FreeBSD

Juli Mallett jmallett@FreeBSD.org
Sat, 15 Feb 2003 22:41:52 -0600

* De: Lloyd Dupont <lloyd@galador.net> [ Data: 2003-02-15 ]
	[ Subjecte: Re: [Mono-list] problem on FreeBSD ]
> > El dom, 16 de 02 de 2003 a las 02:27, Lloyd Dupont escribió:
> > > Unhandled Exception: System.ExecutionEngineException: No GCHandle support
> > > built-in
> >
> > You don't have garbage collector support. libgc (library and headers)
> > was not available when you built mono runtime.
> >
> mh....
> in fact I do have libgc.so (.1) installed in /usr/local/lib
> however, that's true that the headers are nowhere to be seen, except in the 
> HansBoehmGC source directory.
> I guess I should copy in /usr/local/include ?
> or in /usr/local/include/gc ?
> dare I say I'm a bit new to my FreeBSD station, could someone gives me some 
> guidance ?
> (I know it's not a FreeBSD forum, but it will help me run mono on FreeBSD...)

I would really advise you to get the ports tree (see the FreeBSD handbook
for help with this.  I could give you some pointers if you want osmething
short and easy) and to build /usr/ports/lang/mono (cd /usr/ports/lang/mono ;
make all install clean) and do the same for /usr/ports/x11-toolkits/gtk-sharp,
if you like.

Otherwise, put gc.h (and related) into /usr/local/include/gc, and you should
be OK.

Keep in mind that without using ports, you accumulate errors towards eventually
shooting your foot clean off.  The porters often know more about the system
than the average user, and if you build your own, it may "seem to work", but
there may be serious functional deficiencies.

Hope this helps :)
Juli Mallett <jmallett@FreeBSD.org> - AIM: BSDFlata -- IRC: juli on EFnet
OpenDarwin, Mono, FreeBSD Developer - ircd-hybrid Developer, EFnet addict
FreeBSD on MIPS-Anything on FreeBSD - Never trust an ELF, COFF or Mach-O!