From owner-freebsd-ports@FreeBSD.ORG Thu Jul 5 08:11:00 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 042D516A400; Thu, 5 Jul 2007 08:11:00 +0000 (UTC) (envelope-from atmasamarpan@vasudevaserver.org) Received: from mail.vasudevaserver.com (mail.vasudevaserver.com [209.103.160.50]) by mx1.freebsd.org (Postfix) with ESMTP id AB4DC13C448; Thu, 5 Jul 2007 08:10:59 +0000 (UTC) (envelope-from atmasamarpan@vasudevaserver.org) X-Virus-Scanned: by cgpav Received: from plz-81-27-202-218.karneval.cz (account atmasamarpan@vasudevaserver.org [84.242.84.83] verified) by mail.vasudevaserver.com (CommuniGate Pro SMTP 4.2.9) with ESMTP-TLS id 3526597; Thu, 05 Jul 2007 04:10:58 -0400 Message-ID: <468CA787.1000009@vasudevaserver.org> Date: Thu, 05 Jul 2007 10:10:47 +0200 From: Atmasamarpan User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: ports@FreeBSD.org References: <468BA51B.6020502@vasudevaserver.org> <44wsxf3mwl.fsf@Lowell-Desk.lan> In-Reply-To: <44wsxf3mwl.fsf@Lowell-Desk.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: sergei@FreeBSD.org Subject: Re: FreeBSD Port: cfengine-2.2.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2007 08:11:00 -0000 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 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.? >