Security Admin (NetSec | 2 May 2009 02:44

Re: Installing modsecurity on Red Hat 5.3 x64

<<<(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)

Andrew Grauberg | 2 May 2009 05:31
Picon
Favicon

Re: Installing modsecurity on Red Hat 5.3 x64


I have just upgraded 2.5.7 to 2.5.9 with no problems whatsoever via yum
update mod_security. I am using atomic RMPs. Initially, I had installed it
from fresh from the same depo; it resolved all the dependencies - no need
for the manual installation. I am on Centos 5.2 x64.

HTH

Andrew

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
mod-security-users mailing list
mod-security-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Appliances, Rule Sets and Support:
http://www.modsecurity.org/breach/index.html


Gmane