help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure doesn't detect Berkeley DB


From: Doug Granzow
Subject: configure doesn't detect Berkeley DB
Date: Mon, 9 Aug 2004 13:15:39 -0700 (PDT)

I'm trying to build cfengine 2.1.9 on a Solaris 8 box with gcc 3.4.1.

Here is my ./configure command:

bash-2.03$ ./configure prefix=/opt/DCIcfeng/2.1.9
--with-berkeleydb=/opt/DCIdb/4.2.52 --with-openssl=/opt/DCIossl/0.9.7d

It stops with:

checking for BerkeleyDB location... /opt/DCIdb/4.2.52
checking Berkeley DB Version... configure: error: This release of cfengine
requires BerkeleyDB 3.2 or later

This is Berkeley DB 4.2.52 downloaded from sleepycat.  

Here is the relevant section from config.log:

configure:8251: checking for BerkeleyDB location
configure:8438: result: /opt/DCIdb/4.2.52
configure:8481: checking Berkeley DB Version
configure:8510: /opt/DCIgcc/3.4.1/bin/gcc -o conftest -D_REENTRANT
-pthreads -g
-O2 -I/opt/DCIdb/4.2.52/include -D_REENTRANT -pthreads   
-L/opt/DCIdb/4.2.52/li
b -R/opt/DCIdb/4.2.52/lib conftest.c -lnsl -lsocket -lm  -ldb >&5
configure:8513: $? = 0
configure:8515: ./conftest
ld.so.1: ./conftest: fatal: libgcc_s.so.1: open failed: No such file or
director
y
./configure: line 1: 15123 Killed                  ./conftest$ac_exeext
configure:8518: $? = 137
configure: program exited with status 137
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "cfengine"
| #define VERSION "2.1.9"
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBKSTAT 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_LIBM 1
| #define HAVE_LIBSOCKET 1
| #define HAVE_LIBNSL 1
| #define USE_BERKELEY_DB 1
| /* end confdefs.h.  */
|
| #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
))
|         exit(1);
|     exit(0);
| }
|
configure:8528: error: This release of cfengine requires BerkeleyDB 3.2 or
later

Any suggestions are appreciated.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]