How to specify location for DB for Gnucash config?
Himanshu J. Gohel
gohel@csee.usf.edu
Sun, 10 Feb 2002 15:26:10 -0800
Hi,
Attempting to build Gnucash 1.6.5 on SGI IRIX 6.5.13m with the SGI
Freeware pre-compiled GNOME stuff in /usr/freeware.
I've got Gnucash 1.4.11 compiled and running on my system, so I've got
the SWIG, etc. required packages in /usr/local.
Configuring with this line:
Aum 84% cat ../generic.conf
ac_cv_lib_gen_getmntent=no \
ac_cv_lib_sun=no \
ac_cv_lib_sun_getpwnam=no \
ac_cv_lib_sun_getmntent=no \
ac_cv_lib_sun_yp_match=no \
ac_cv_lib_socket=no \
ac_cv_lib_socket_main=no \
./configure
I get an error:
Aum 82% cat gnucash-conf.log
checking for perl... /usr/bin/perl
checking for dbopen... no
checking for dbopen in -ldb1... no
checking for dbopen in -ldb... yes
checking for db_185.h... no
checking for db1/db.h... no
configure: error: Berkeley db library required for GnuCash
DB 1.85, 2.7.7 and 3 are all installed in /usr/freeware (pre-compiled),
but Gnucash's config can't find them. There doesn't seem to be a way to
specify where to find them...I suspect it's looking in /usr/local and
can't find the includes there, so it barfs. I tried the option
--enable-prefer-db1, but same results during configure.
How can I tell configure where to find the includes and libraries?
Thanks.
Himanshu Gohel, gohel@csee.usf.edu