Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2004 00:01:58 +0100
From:      "Karl M. Joch" <k.joch@kmjeuro.com>
To:        questions@freebsd.org
Subject:   mod-clamav errors with apxs -q CFLAGS_SHLIB ?
Message-ID:  <401D8566.2020006@kmjeuro.com>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
.include <bsd.port.post.mk>

####

many thanks for any hints how to get it to run.


-- 
Best regards / Mit freundlichen Gruessen,

Karl M. Joch




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401D8566.2020006>