Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jul 2007 10:10:47 +0200
From:      Atmasamarpan <atmasamarpan@vasudevaserver.org>
To:        ports@FreeBSD.org
Cc:        sergei@FreeBSD.org
Subject:   Re: FreeBSD Port: cfengine-2.2.1
Message-ID:  <468CA787.1000009@vasudevaserver.org>
In-Reply-To: <44wsxf3mwl.fsf@Lowell-Desk.lan>
References:  <468BA51B.6020502@vasudevaserver.org> <44wsxf3mwl.fsf@Lowell-Desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

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.

Thanks,
Atmasamarpan

===>  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 
/usr/local/include/db4
checking for library containing db_create... -ldb4
/usr/local
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 
-DBUILDTIN_GCC_THREAD -MT instrument.o -MD -MP -MF 
".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@vasudevaserver.org> 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.?
>   



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468CA787.1000009>