I can compile fine with no options but as soon as I get clever I break something:
./configure --prefix=/home/nwatson/cfengine --with-pcre=/home/nwatson/cfengine --with-berkeleydb=/home/nwatson/cfengine --without-sql --sbindir=/home/nwatson/cfengine/bin Configure looked good: checking for BerkeleyDB location in /home/nwatson/cfengine... /home/nwatson/cfengine checking Berkeley DB API... checking for db_create in -ldb... yes checking for OpenSSL location... /usr checking OpenSSL Version... OK checking for main in -lcrypto... yes checking pcre... "/home/nwatson/cfengine" checking for main in -lpcre... yes checking for main in -lrt... yes checking pcre.h usability... yes checking pcre.h presence... yes Then a make: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/nwatson/cfengine/include -I/usr/include -pthread -I/home/nwatson/cfengine/include -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -g -O2 -I/home/nwatson/cfengine/include -pthread -g -O2 -I/home/nwatson/cfengine/include -MT libpromises_la-dbm_berkeley.lo -MD -MP -MF .deps/libpromises_la-dbm_berkeley.Tpo -c dbm_berkeley.c -o libpromises_la-dbm_berkeley.o dbm_berkeley.c: In function ?BDB_OpenDB?: dbm_berkeley.c:52: warning: passing argument 2 of ?(*dbp)->open? from incompatible pointer type dbm_berkeley.c:52: warning: passing argument 4 of ?(*dbp)->open? makes pointer from integer without a cast dbm_berkeley.c:52: error: too few arguments to function ?(*dbp)->open? make[2]: *** [libpromises_la-dbm_berkeley.lo] Error 1 make[2]: Leaving directory `/home/nwatson/src/cfengine-3.0.4/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/nwatson/src/cfengine-3.0.4/src' make: *** [all-recursive] Error 1 The build and install using the same options works fine with cf 3.0.2. Sincerely, -- Neil Watson 416-673-3465
CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage exclusif de la personne à laquelle il s’adresse et peut contenir de l’information personnelle ou confidentielle. Si le lecteur de ce message n’en est pas le destinataire, nous l’avisons par la présente que toute diffusion, distribution, reproduction ou utilisation de son contenu est strictement interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine