GnuCash-1.5.1 fails to compile on FreeBSD 4.1-RELEASE
Dave Peticolas
dave@krondo.com
Tue, 19 Sep 2000 15:04:49 -0700
Steve Davidson writes:
>
> Here are the results from /usr/ports/devel/glib12/.PLIST.mktmp (the file
> list):
>
>
> man/man1/glib12-config.1.gz
> bin/glib12-config
That's the file you want above. I think what you need to do is run
configure like so:
GLIB_CONFIG=/usr/bin/glib12-config ./configure
/usr/local/bin/glib12-config, depending on where it was installed.
Matthew Condell would know more about setting this up.
> Here are the result from a make for gnucash-1.5.1:
>
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
> -I.. -g -O2 -Wall -Wunused -Wall -Werror-implicit-function-declaration
> /usr/local/lib/glib-2.0 -c AccInfo.c
> rm -f .libs/AccInfo.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -g -O2 -Wall -Wunused -Wall
> -Werror-implicit-function-declaration /usr/local/lib/glib-2.0 -c
> AccInfo.c -fPIC -DPIC -o .libs/AccInfo.lo
> gcc: cannot specify -o with -c or -S and multiple compilations
I think this has to do with the extraneous /usr/local/lib/glib-2.0
in there. GnuCash should be built with glib1.2 anyway, I believe.
At least, I haven't tried it with glib2.0, which is not stable at
any rate.
dave