Mark Burgess wrote: > svetlana stoianova wrote: > > Hello > > > > I am trying to compile cfengine-2.1.19p1 on solaris 9 and I get the > > following error during configure : > > > > checking for BerkeleyDB location in /usr/local... /usr/local > > checking Berkeley DB Version... configure: error: This release of > > cfengine requires BerkeleyDB 3.2 or later > > > > I tried it with BerkeleyDB.3.3 package which I downloaded from > > sunfreeware.com and with BerkeleyDB.4.4.20 which I installed from > > source. With the same result. > > > > My configure options are: ./configure --prefix=/usr/local > > --with-berkeleydb=/usr/local --with-openssl=/usr/local > > --mandir=/usr/local/man --with-docs > > > > I enclose the configure snapshot in the attachment. > > > > Thank you in advance for your help > > Svetlana Stoianova > > > > _________________________________________________________________ > > Gratis bloggen op MSN Spaces http://spaces.msn.com/?mkt=nl-be > > checking build system type... sparc-sun-solaris2.9 > > checking host system type... sparc-sun-solaris2.9 > > checking target system type... sparc-sun-solaris2.9 > > checking for a BSD-compatible install... /opt/bin/install -c > > checking whether build environment is sane... yes > > checking for gawk... gawk > > checking whether make sets $(MAKE)... yes > > checking for style of include used by make... GNU > > checking for gcc... gcc > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ANSI C... none needed > > checking dependency style of gcc... gcc3 > > checking whether pthreads work with -pthread... no > > checking whether pthreads work with -pthreads... yes > > checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE > > checking if more special flags are required for pthreads... -D_REENTRANT > > checking for cc_r... gcc > > checking for gcc... (cached) gcc > > checking whether we are using the GNU C compiler... (cached) yes > > checking whether gcc accepts -g... (cached) yes > > checking for gcc option to accept ANSI C... (cached) none needed > > checking dependency style of gcc... (cached) gcc3 > > checking for flex... flex > > checking for yywrap in -lfl... no > > checking for yywrap in -ll... yes > > checking lex output file root... lex.yy > > checking whether yytext is a pointer... yes > > checking for bison... bison -y > > checking for ranlib... ranlib > > checking for a BSD-compatible install... /opt/bin/install -c > > checking how to run the C preprocessor... gcc -E > > checking for egrep... egrep > > checking for ANSI C header files... yes > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... no > > checking for unistd.h... yes > > checking for getloadavg... yes > > checking for pstat_getdynamic... no > > checking for kstat_open in -lkstat... yes > > checking for getloadavg... yes > > checking whether getloadavg requires setgid... no > > checking for latex... false > > checking for texi2dvi... /opt/bin/texi2dvi > > checking for dvips... false > > checking for makeinfo... /opt/bin/makeinfo > > checking for ps2pdf... false > > checking for getconf... /usr/bin/getconf > > checking for main in -lm... yes > > checking for door_create... no > > checking for setsockopt... no > > checking for setsockopt in -lsocket... yes > > checking for gethostent... no > > checking for gethostent in -lnsl... yes > > checking for getaddrinfo... yes > > checking for library containing socket... none required > > checking for BerkeleyDB location in /usr/local... /usr/local > > checking Berkeley DB Version... configure: error: This release of > > cfengine requires BerkeleyDB 3.2 or later > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Help-cfengine mailing list > > Help-cfengine@cfengine.org > > http://cfengine.org/mailman/listinfo/help-cfengine > > > > Have you updated the ldconfig database?
I am on Solaris, so I added /usr/local/BerkeleyDB.4.4/lib and /usr/local/ssl/lib to /var/ld/ld.config with crle utility, then tried to configure again, but got the same error message... This is the piece where configure stops: ------snip--------------------------------------------- ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_GETLOADAVG 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIBKSTAT 1 #define HAVE_LIBM 1 #define HAVE_LIBNSL 1 #define HAVE_LIBSOCKET 1 #define HAVE_MEMORY_H 1 #define HAVE_PTHREAD 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define PACKAGE "cfengine" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define STDC_HEADERS 1 #define USE_BERKELEY_DB 1 #define VERSION "2.1.19p1" #define YYTEXT_POINTER 1 configure: exit 1 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine