• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Problems install mod_security on Centos 4

P

panaman

Guest
i am getting this error...

[root@138 apache2]# /usr/sbin/apxs -cia mod_security2.c
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o mod_security2.lo mod_security2.c && touch mod_security2.slo
In file included from modsecurity.h:37,
from mod_security2.c:18:
msc_pcre.h:18:18: pcre.h: No such file or directory
apxs:Error: Command failed with rc=65536

here are my apache versions and pcre
[root@138 apache2]# rpm -qa |grep pcre
pcre-4.5-3.2.RHEL4
pcre-devel-4.5-3.2.RHEL4
[root@138 apache2]# rpm -qa |grep httpd
httpd-2.0.52-28.ent.centos4
httpd-suexec-2.0.52-28.ent.centos4
httpd-devel-2.0.52-28.ent.centos4
[root@138 apache2]#

anyone got any ideas?
 
Back
Top