How to specify location for DB for Gnucash config?

Dave Peticolas dave@krondo.com
11 Feb 2002 01:23:19 -0800


--=-YzgMDN/VqM7E8oSqLj0s
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2002-02-10 at 15:26, Himanshu J. Gohel wrote:
> Hi,
>=20
> Attempting to build Gnucash 1.6.5 on SGI IRIX 6.5.13m with the SGI
> Freeware pre-compiled GNOME stuff in /usr/freeware.
>=20
> 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.
>=20
> Configuring with this line:
>=20
> Aum 84% cat ../generic.conf=20
>         ac_cv_lib_gen_getmntent=3Dno \
>         ac_cv_lib_sun=3Dno \
>         ac_cv_lib_sun_getpwnam=3Dno  \
>         ac_cv_lib_sun_getmntent=3Dno \
>         ac_cv_lib_sun_yp_match=3Dno \
>         ac_cv_lib_socket=3Dno \
>         ac_cv_lib_socket_main=3Dno \
> ./configure
>=20
> I get an error:
>=20
> 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
>=20
> 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.
>=20
> How can I tell configure where to find the includes and libraries?

Check config.log to figure out why the test is failing,
but I suspect you will need to set the CFLAGS environment
variable to have the right header directory and possibly
the LD_LIBRARY_PATH variable to have the right lib directory
to find DB.

dave


--=-YzgMDN/VqM7E8oSqLj0s
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8Z42G5effKKCmfpIRAsPnAKDnuAg2xMFhPYuI/pr/pHBpt436kQCfQgGm
ydpAgh7KlORssCdjZ8LXOZc=
=LB6E
-----END PGP SIGNATURE-----

--=-YzgMDN/VqM7E8oSqLj0s--