From owner-freebsd-questions@FreeBSD.ORG Sun Feb 1 15:02:29 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9500016A4CE for ; Sun, 1 Feb 2004 15:02:29 -0800 (PST) Received: from sv07e.atm-tzs.kmjeuro.com (sv07e.atm-tzs.kmjeuro.com [193.81.94.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id B162743D5D for ; Sun, 1 Feb 2004 15:02:27 -0800 (PST) (envelope-from k.joch@kmjeuro.com) Received: from kmjeuro.com (adsl.sbg.kmjeuro.com [62.99.198.46]) (authenticated bits=0)i11N1w5i022713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 2 Feb 2004 00:02:00 +0100 (CET) (envelope-from k.joch@kmjeuro.com) Message-ID: <401D8566.2020006@kmjeuro.com> Date: Mon, 02 Feb 2004 00:01:58 +0100 From: "Karl M. Joch" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: please visit www.ctseuro.com for further instructions. Protected by www.ctseuro.com X-MailScanner: Found to be clean Subject: mod-clamav errors with apxs -q CFLAGS_SHLIB ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 23:02:29 -0000 i try to run FreeBSD 4.7, Apache 2.0.48 with mod_clamav (0.13) from http://software.othello.ch/mod_clamav/. this looks like a solution for a real time scanner/proxy. anybody knows how to fix this apxs error: Global symbol "$CFG_CFLAGS_SHLIB" requires explicit package name at (eval 27) line 2. Global symbol "$CFG_LDFLAGS_SHLIB" requires explicit package name at (eval 27) line 2. it happens when configure/make runs: apxs -q CFLAGS_SHLIB so far it compiles, but when starting apache i always get a core dump (10). i try to setup a port with this makefile: NO_CHECKSUM= yes ## test. no checksum PORTNAME= mod_clamav PORTVERSION= 0.13 CATEGORIES= www MASTER_SITES= http://software.othello.ch/mod_clamav/ MAINTAINER= xx COMMENT= Real Time Scanner for Apache2 Proxy Module running with clamav USE_GMAKE= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --with-apxs=/usr/local/sbin/apxs --libdir=/usr/local/lib/apache2 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" .include .include #### many thanks for any hints how to get it to run. -- Best regards / Mit freundlichen Gruessen, Karl M. Joch