[Mono-list] compiling on FreeBSD
Mon, 13 Aug 2001 07:51:52 -0400
On Mon, Aug 13, 2001 at 07:29:37AM -0400, Garrett Rooney wrote:
> On Mon, Aug 13, 2001 at 01:17:57AM -0400, Miguel de Icaza wrote:
> > > 0) setenv GLIB_CONFIG /usr/local/bin/glib12-config since that's where the
> > > freebsd ports system puts it.
> > I am not sure that setting the env var would work. I suggest that you
> > rename glib12-config to glib-config and let the process run. That
> > should take care of all glib problems you have.
> i will try that later, but in the long run it isn't a good solution for
> distributing the code for BSD. perhaps it will be necessary to patch the
> makefiles in the port (lots of ports seem to do this for GTK and GLIB
> programs, perhaps this is why).
this seems to work, (it gets rid of all the problems other than the ffi.h
include and the math functions).
i can't understand why it's workign though. it seems that whatever
autoconf/automake stuff is outputting the GMODULE_CFLAGS and GMODULE_LIBS in
the makefiles should really be changed to use whatever GLIB_CONFIG is defined
as, otherwise what's the point of having a GLIB_CONFIG env variable?
garrett rooney Unix was not designed to stop you from
email@example.com doing stupid things, because that would
http://electricjellyfish.net/ stop you from doing clever things.