[mod-security-users] FW: not able to compile mod_security as static
Brought to you by:
victorhora,
zimmerletw
From: Didier W. <did...@mc...> - 2004-01-22 11:34:32
|
When running the configure + argument (see previous post) the modules.mk is almost empty it contains only this: DISTCLEAN_TARGETS = modules.mk static = shared = Now I'm adding the mod_security stuff and try to compile, it fails! When simply running: configure --prefix=/home... --with-module=mappers:security The modules.mk is not empty and already contains some modules to compile. Adding mod_security stuff now and compiling, works. So, there is a bug (apache or mod_security) if modules.mk contains only the mod_security stuff the build fails. -----Original Message----- From: Didier WIROTH [mailto:did...@mc...] Sent: jeudi 22 janvier 2004 11:09 To: 'mod...@li...' Subject: not able to compile mod_security as static 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 = shared = 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 |