Forum: CFEngine Help
Subject: Error installing client: function ‘BDB_OpenDB’
Author: maxmackie
Link to topic: https://cfengine.com/forum/read.php?3,22753,22753#msg-22753

My configuration options are:


./configure --with-berkeleydb=/usr/local/BerkeleyDB.5.1 
--with-openssl=/usr/local/ssl --with-pcre


Output of 'gmake':


hostname:/tmp/cfengine/cfengine-3.1.5 # gmake
Making all in pub
gmake[1]: Entering directory `/tmp/cfengine/cfengine-3.1.5/pub'
  CC     getopt.lo
  CC     getopt1.lo
  CC     regex.lo
  CC     snprintf.lo
  CCLD   libcfpub.la
gmake[1]: Leaving directory `/tmp/cfengine/cfengine-3.1.5/pub'
Making all in src
gmake[1]: Entering directory `/tmp/cfengine/cfengine-3.1.5/src'
  YACC   cf3parse.c
conflicts: 4 shift/reduce
updating cf3parse.h
gmake  all-am
gmake[2]: Entering directory `/tmp/cfengine/cfengine-3.1.5/src'
  CC     libpromises_la-cf3parse.lo
  LEX    cf3lex.c
  CC     libpromises_la-cf3lex.lo
cf3lex.c:1756: warning: no previous prototype for ‘yyget_in’
cf3lex.c:1764: warning: no previous prototype for ‘yyget_out’
cf3lex.c:1772: warning: no previous prototype for ‘yyget_leng’
cf3lex.c:1781: warning: no previous prototype for ‘yyget_text’
cf3lex.c:1792: warning: no previous prototype for ‘yyset_in’
cf3lex.c:1797: warning: no previous prototype for ‘yyset_out’
cf3lex.c:1802: warning: no previous prototype for ‘yyget_debug’
cf3lex.c:1807: warning: no previous prototype for ‘yyset_debug’
cf3lex.c:1813: warning: no previous prototype for ‘yylex_destroy’
  CC     libpromises_la-patches.lo
  CC     libpromises_la-attributes.lo
  CC     libpromises_la-install.lo
  CC     libpromises_la-generic_agent.lo
  CC     libpromises_la-dbm_api.lo
  CC     libpromises_la-dbm_berkeley.lo
dbm_berkeley.c: In function ‘BDB_OpenDB’:
dbm_berkeley.c:116: warning: passing argument 2 of ‘(*dbp)->open’ from 
incompatible pointer type
dbm_berkeley.c:116: warning: passing argument 4 of ‘(*dbp)->open’ makes pointer 
from integer without a cast
dbm_berkeley.c:116: error: too few arguments to function ‘(*dbp)->open’
gmake[2]: ***  Error 1
gmake[2]: Leaving directory `/tmp/cfengine/cfengine-3.1.5/src'
gmake[1]: ***  Error 2
gmake[1]: Leaving directory `/tmp/cfengine/cfengine-3.1.5/src'
gmake: ***  Error 1


Could this be an issue with BerkeleyDB? I've just updated to 5.1

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to