Re: [mod-security-users] problem compiling?
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iv...@we...> - 2005-12-06 22:06:58
|
Aviram Carmi wrote: > Hi all, > > relatively new to this, so I am probably making a very obvious mistake... > > I am getting errors installing/compiling mod_security. > > can you help? > > thanks, > > -avi > > here is the requested info > > > # cd apache2/ > # apxs -cia mod_security.c > /etc/httpd/build/libtool --silent --mode=compile gcc -prefer-pic > -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread > -DNO_DBM_REWRITEMAP -I/usr/include/httpd -c -o mod_security.lo > mod_security.c && touch mod_security.slo > mod_security.c: In function `sec_audit_logger_concurrent': > mod_security.c:5419: `APR_MD5_DIGESTSIZE' undeclared (first use in this > function) > mod_security.c:5419: (Each undeclared identifier is reported only once > mod_security.c:5419: for each function it appears in.) This looks like the MD5 functions are missing from your distribution. > mod_security.c: In function `register_hooks': > mod_security.c:7959: incompatible type for argument 3 of > `ap_register_input_filter' > mod_security.c:7959: too many arguments to function > `ap_register_input_filter' > mod_security.c:7960: incompatible type for argument 3 of > `ap_register_output_filter' > mod_security.c:7960: too many arguments to function > `ap_register_output_filter' > apxs:Error: Command failed with rc=65536 This, however, looks far more serious. It appears the version of Apache you are using is an older, incompatible, one. > . > # uname -a > Linux otn.com 2.4.20-28.7smp #1 SMP Thu Dec 18 11:18:31 EST 2003 i686 > unknown > # cat /etc/redhat-release > Red Hat Linux release 7.3 (Valhalla) > # httpd -V > Server version: Apache/2.0.36 I am afraid I don't think you will be able to get mod_security working with that version of Apache. -- Ivan Ristic Apache Security (O'Reilly) - http://www.apachesecurity.net Open source web application firewall - http://www.modsecurity.org |