FreeBSD Port: mod_security2-2.1.7

Fabien Debuire yayien at gmail.com
Thu Apr 10 23:08:27 UTC 2008


Hello,
I think there is a little mistake in the makefile because you do not link
mod_security with libxml2... so when I use it I got an error saying that it
does not know the XML symbol.
So as to work I had to had the following lines in the Makefile:
AP_EXTRAS += -DWITH_LIBXML2
AP_INC= ${LOCALBASE}/include/libxml2
AP_LIB= ${LOCALBASE}/lib
USE_GNOME= libxml2

and in httpd.conf

LoadFile /usr/local/lib/libxml2.so



-- 
Fabien DEBUIRE
yayien at gmail.com


More information about the freebsd-ports mailing list