• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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