[mod-security-users] not able to compile mod_security as static
Brought to you by:
victorhora,
zimmerletw
|
From: Didier W. <did...@mc...> - 2004-01-22 10:09:23
|
Hi,
(using freebsd 5.2-release, with mod_security 1.7.4 and apache 2.0.48)
I had problems with 1.7.4 and apache 1.3.29, so I wanted to test it with
apache2.0.48.
I followed the procedures of the manual but compiling fails when it comes to
mod_security:
e/libpcre.la
/usr/home/dda/download/httpd-2.0.48/srclib/apr-util/libaprutil-0.la -lexpat
/usr/home/dda/download/httpd-2.0.48/srclib/apr/libapr-0.la -lm -lcrypt
make: don't know how to make modules/mappers/mod_security.la. Stop
*** Error code 1
The module is in the directory:
Jan 22 10:39 modules/mappers/mod_security.c
And here is the content of modules/mappers/modules.mk
DISTCLEAN_TARGETS = modules.mk
static = mod_security.la
shared =
mod_security.la: mod_security.lo
$(MOD_LINK) mod_security.lo (with TAB character)
Here is the configure command line I used:
./configure --prefix=/home/test/apache2 --disable-include --disable-env
--disable-setenvif --disable-status --disable-autoindex --disable-asis
--disable-cgi --disable-negotiation --disable-dir --disable-imap
--disable-actions --disable-userdir --disable-alias --disable-so
--with-module=mappers:security
Thanks for the help
Didier
|