From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 06:48:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19336A94 for ; Wed, 9 Jul 2014 06:48:16 +0000 (UTC) Received: from pandora.au.calorieking.net (114.179.70.115.static.exetel.com.au [115.70.179.114]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B39372871 for ; Wed, 9 Jul 2014 06:48:14 +0000 (UTC) Received: from pandora.internal (localhost [127.0.0.1]) by pandora.au.calorieking.net (Postfix) with ESMTP id 25D1C33CF9 for ; Wed, 9 Jul 2014 14:47:59 +0800 (WST) X-Virus-Scanned: amavisd-new at calorieking.com Received: from pandora.au.calorieking.net ([127.0.0.1]) by pandora.internal (pandora.internal [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vhiPJUZlB_iq for ; Wed, 9 Jul 2014 14:47:53 +0800 (WST) Received: from egeria.internal (egeria.internal [192.168.2.111]) by pandora.au.calorieking.net (Postfix) with ESMTPSA id 8078C33CF8 for ; Wed, 9 Jul 2014 14:47:53 +0800 (WST) Message-ID: <53BCE598.40102@calorieking.com> Date: Wed, 09 Jul 2014 14:47:52 +0800 From: Gregory Orange User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: User questions Subject: mail/p5-Mail-ClamAV fails to build Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 06:48:16 -0000 I'm trying to build mail/p5-Mail-ClamAV and getting this error: /usr/local/bin/perl /usr/local/lib/perl5/5.14/ExtUtils/xsubpp -typemap "/usr/local/lib/perl5/5.14/ExtUtils/typemap" ClamAV.xs > ClamAV.xsc && mv ClamAV.xsc ClamAV.c cc -c -I"/var/obj/usr/ports.local/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.29" -DAPPLLIB_EXP="/usr/local/lib/perl5/5.14/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.14/mach/CORE" ClamAV.c ClamAV.xs:11:20: error: clamav.h: No such file or directory There is more, but being unable to find clamav.h seems to be problem enough, and the other errors look related to this. security/clamav is installed, and /usr/local/include/clamav.h is present. A friend built it successfully on his machine, and gave me a screen grab. The only difference is that line, which also has "-I/usr/local/include" - which I think would make it work. I see /usr/ports/Mk/bsd.database.mk has this line: CPPFLAGS+= -I${LOCALBASE}/include and /usr/ports/Mk/bsd.port.Mk has this line: bsd.port.mk:LOCALBASE?= /usr/local but I don't know how and where these would be used. What should I do next, to troubleshoot this? TIA, Greg.