Hi, I'm trying to install snort on a cPanel server that I manage. When I first ran ./configure for the snort install, it bailed with the error:
I used WHM to install the pcre-devel package and ran the configure script again. This time it failed because the pcre version was less than 6.0.
I checked the RPMs with rpm -qa | grep pcre and found that indeed version 4.3 is installed on my server. I upgraded cPanel to the most recent release version but that didn't update PCRE.
My question: How can I upgrade PCRE on my cPanel server? I see the current release is 8.0, so I'm actually a little surprised that cPanel is using such an old version. Any help would be much appreciated.
Code:
checking for pcap_datalink in -lpcap... yes
checking for libpcap version >= 0.9... no
./configure: line 25139: pcre-config: command not found
./configure: line 25145: pcre-config: command not found
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
ERROR! Libpcre header not found.
Get it from http://www.pcre.org
I checked the RPMs with rpm -qa | grep pcre and found that indeed version 4.3 is installed on my server. I upgraded cPanel to the most recent release version but that didn't update PCRE.
My question: How can I upgrade PCRE on my cPanel server? I see the current release is 8.0, so I'm actually a little surprised that cPanel is using such an old version. Any help would be much appreciated.