FreeBSD Port: cfengine-2.2.1

Atmasamarpan atmasamarpan at
Thu Jul 5 08:11:00 UTC 2007


Everything is fine after I removed db4-4.0.14_1,1. The port requires 
db44, but during configure it finds db4 and compilation fails. See bellow.


===>  Patching for cfengine-2.2.1
===>  Applying FreeBSD patches for cfengine-2.2.1
===>   cfengine-2.2.1 depends on shared library: db-4.4.0 - found
===>  Configuring for cfengine-2.2.1
checking for BerkeleyDB location in default... Found header in 
checking for library containing db_create... -ldb4
checking Berkeley DB Version... 4.0.14 OK
checking Berkeley DB API... 4.0.14 checking for db_create in -ldb... no
if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/db4 
-I/usr/include   -D_THREAD_SAFE -g -O2 -Wreturn-type 
-Wmissing-prototypes -Wuninitialized -D_THREAD_SAFE  -O -pipe  
-I/usr/local/include/db4  -D_THREAD_SAFE -DBUILDTIN_GCC_THREAD 
-D_THREAD_SAFE  -O -pipe  -I/usr/local/include/db4  -D_THREAD_SAFE 
".deps/instrument.Tpo" -c -o instrument.o instrument.c;  then mv -f 
".deps/instrument.Tpo" ".deps/instrument.Po"; else rm -f 
".deps/instrument.Tpo"; exit 1; fi
instrument.c: In function `RecordPerformance':
instrument.c:65: error: incompatible type for argument 4 of indirect 
function call
instrument.c:65: error: too many arguments to function
*** Error code 1

Lowell Gilbert wrote:
> Atmasamarpan <atmasamarpan at> writes:
>> I am not able to compile cfengine both under 6.0 and 6.2. Am I doing
>> anything wrong?
> Probably.  It builds fine for me with the latest ports under a fairly
> recent -STABLE.  Can you give more information about you installation,
> ports tree, etc.?

More information about the freebsd-ports mailing list