mod-clamav errors with apxs -q CFLAGS_SHLIB ?
Karl M. Joch
k.joch at kmjeuro.com
Sun Feb 1 15:02:29 PST 2004
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
More information about the freebsd-questions
mailing list