• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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