GnuCash-1.4.7 fails to compile on FreeBSD 4.1.1-RELEASE

Steve Davidson sdn@sprintlabs.com
Wed, 11 Oct 2000 11:45:52 -0700


Dave Peticolas wrote:

> Steve Davidson writes:
> > Dave Peticolas wrote:
> >
> > > Steve Davidson writes:
> > > > ./configure      ...everything works
> > > > make
> > > > [...]
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -g -O2 -Wall -I/usr/local/includ
> > e -c
> > > > DateUtils.c -o DateUtils.o >/dev/null 2>&1
> > > > mv -f .libs/DateUtils.lo DateUtils.lo
> > > > /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
> > -I..
> > > > -g -O2 -Wall  -I/usr/local/include -c F
> > > > ileIO.c
> > > > rm -f .libs/FileIO.lo
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -g -O2 -Wall -I/usr/local/includ
> > e -c
> > > > FileIO.c  -fPIC -DPIC -o .libs/FileIO.lo
> > > > FileIO.c:89: glib.h: No such file or directory
> > > > *** Error code 1
> > >
> > > Is glib.h installed on your system and, if so, where?
> > >
> > > dave
> >
> > Yes.
> > /usr/local/include/glib12/glib.h
>
> Oh, yes, I remember this now. On FreeBSD, glib is installed
> a bit differently. I think you can fix this using
>
> ./configure --with-glib-config=/usr/local/bin/glib12-config
>
> You can also check the current version of gnucash in the ports
> tree to see how it's done there.
>
> dave

Yes.  This works.  Thanks.

Also the 1.4.5 port in FreeBSD 4.1.1 also works.

Things are definitely impoving for GNUCash on FreeBSD.  Again thanks.
Steve