On 10/25/05, Gentoo <[EMAIL PROTECTED]> wrote:
this program is OK .--On 10/25/05, David Masterson < [EMAIL PROTECTED]> wrote:Test the following program with Berkeley DB 4.2:#include <db.h>
#include <stdio.h>
int main(void)
{
printf("%d.%d.%d ",DB_VERSION_MAJOR,DB_VERSION_MINOR,DB_VERSION_PATCH);
if (DB_VERSION_MAJOR < 3 || (DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 2))
printf("bad\n");else
printf("good\n");
}If it prints out "bad", then there is a problem with your setup. Do you have another version of "db.h" installed somewhere (/usr/include) and could the configure script be picking that one up?
From: help-cfengine-bounces+dmasterson=[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gentoo
Sent: Monday, October 24, 2005 7:01 AM
To: [email protected]
Subject: how to compile cfengine 2.1.16 on solaris 10 Sparc./configure --with-berkeleydb=/usr/local/BerkeleyDB.4.2
checking for BerkeleyDB location in /usr/local/BerkeleyDB.4.2... /usr/local/BerkeleyDB.4.2
checking Berkeley DB Version... configure: error: This release of cfengine requires BerkeleyDB 3.2 or later
I did install DB 4.2 into /usr/local/BerkeleyDB.4.2
so what shall I do?
Thanks for you help
--
Life is hard
Life is hard
--
Life is hard
_______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
