GnuCash-1.4.7 fails to compile on FreeBSD 4.1.1-RELEASE

Steve Davidson sdn@sprintlabs.com
Tue, 10 Oct 2000 10:37:20 -0700


Dave Peticolas wrote:

> Steve Davidson writes:
> > This is a fresh install of FreeBSD 4.1.1.
> > GnuCash-1.4.7 fails to compile on FreeBSD 4.1.1-RELEASE
> >
> > % ./configure          ...everything works
> >
> > % make
> > [...]
> > gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
> > -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/lo
> > cal/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2
> > -Wall  explodename.c
> > rm -f libintl.a
> > ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o
> > gettext.o  finddomain.o loadmsgcat.o localealias.o t
> > extdomain.o l10nflist.o  explodename.o
> > ranlib libintl.a
> > Making all in lib
> > Making all in po
> > rm -f extract-macros.perl.tmp
> > sed < extract-macros.perl.in > extract-macros.perl.tmp  -e
> > 's:@-PACKAGE-@:gnucash:g'  -e 's:@-PERL-@:/usr/bin/perl:g'  -
> > e 's:@-CPP-@:cpp:g'
> > chmod +x extract-macros.perl.tmp
> > mv extract-macros.perl.tmp extract-macros.perl
> > perl -s extract-macros.perl  > pseudo-source.c
> > Name "main::h" used only once: possible typo at extract-macros.perl line 38.
>
> Delete line 38 from po/extract-macros.perl.in. I have fixed this in CVS.
>
> thanks,
> dave

Ok, line 38 deleted.  Now I got this:

./configure      ...everything works
make
[...]
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -g -O2 -Wall -I/usr/local/include -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/include -c
FileIO.c  -fPIC -DPIC -o .libs/FileIO.lo
FileIO.c:89: glib.h: No such file or directory
*** Error code 1

Stop in /usr/home/sdn/p/distfiles/gnucash-1.4.7/src/engine.
*** Error code 1