[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Fix for Red Hat 9.0 Berkeley DB Error
From: |
Wheeler, John |
Subject: |
RE: Fix for Red Hat 9.0 Berkeley DB Error |
Date: |
Thu, 16 Oct 2003 13:24:32 -0500 |
actually a better way ( I can't take credit for this though*, and by better I
mean that I don't have to patch/edit files ) is to do
./configure BERKELEY_DB_LIB=-ldb
I found that
./configure BERKELEY_DB_LIB=-ldb-4.0
works as well.
honestly though, I haven't actually tested the resulting binary after a
successful make (I'll be doing that shortly).
*originator of hack/fix
http://groups.google.com/groups?q=cfengine+berkeley+db+linux&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=1012317319.22715.4.camel%40jylitbsd.lnx.nokia.com&rnum=4
-----Original Message-----
From: Rasheda M Menzies [mailto:rasheda@us.ibm.com]
Sent: Thursday, October 16, 2003 1:08 PM
To: help-cfengine@gnu.org
Subject: Fix for Red Hat 9.0 Berkeley DB Error
In order for configure to run, and not report a BerkeleyDB error, on Red Hat
9.0. The following line in the Berkeley DB section
(Line 7608 of cfengine-2.1.0b5):
if test -f "$d/include/$v/db.h" ; then
should be changed to:
if test -f "$d/include/$v/db.h" -a -f "$d/lib/lib$v.so" ; then
Regards,
Rasheda