2 May 2009 02:44
Re: Installing modsecurity on Red Hat 5.3 x64
Security Admin (NetSec <secadmin <at> netsecdesign.com>
2009-05-02 00:44:50 GMT
2009-05-02 00:44:50 GMT
<<<(after subscribing to the channels list above and running yum update)
# yum install libxml2-devel lua-devel httpd-devel curl-devel pcre-devel
# ./configure --with-apxs=/usr/sbin/apxs
# make
# make install>>>
After implementing what you suggested above I was able to compile. My RHEL subscription allowed me to get
the rpms I needed. I had to use "./configure" because "./configure --with-apxs=/usr/sbin/apxs" gave
the error listed below. Other than that it was fine and thanks for the help!
Edward Ray
NetSec Consulting
Error output of "./configure --with-apxs=/usr/sbin/apxs" :
configure: looking for Apache module support via DSO through APXS
configure: found apxs at /usr/sbin/apxs
configure: checking httpd version
configure: httpd is recent enough
checking for libpcre config script... /usr/bin/pcre-config
configure: using '-lpcre' for pcre Library
checking for libapr config script... /usr/sbin/apxs
apxs:Error: Unknown option: -.
apxs:Error: Unknown option: -.
apxs:Error: Unknown option: f.
apxs:Error: Unknown option: -.
apxs:Error: Unknown option: f.
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
(Continue reading)
RSS Feed