[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mod-security-users
Subject:    Re: [mod-security-users] compiling 2.5.9 failed
From:       Brian Rectanus <Brian.Rectanus () breach ! com>
Date:       2009-09-14 19:32:10
Message-ID: 4AAE9A3A.7090603 () breach ! com
[Download RAW message or body]

Qingshan Xie wrote:
> Hello, Experts,
> 
> I failed to compile mod_security 2.5.9 with Apache 2.x on Linux Redhat.  after I \
> ran the command "./configure --with-apxs=/opt/httpd/apache/2.2.11/worker/bin/apxs", \
> it prompted me the error below.  Could you help me how to fix the issue. 
> Thanks, Q.Xie
> =========================================================
> ......
> configure: httpd is recent enough
> checking for libpcre config script... /usr/bin/pcre-config
> configure: using '-L/usr/lib -lpcre' for pcre Library
> checking for libapr config script... /opt/httpd/apache/2.2.11/worker/bin/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>]]
> [-I<incdir>] [-L<libdir>] [-l<libname>] [-Wc,<flags>]
> [-Wl,<flags>] [-p]<files>  ...
> apxs -i [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> apxs -e [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> apxs:Error: Unknown option: -.
> Usage: apxs -g [-S<var>=<val>] -n<modname>
> apxs -q [-S<var>=<val>]<query>  ...
> apxs -c [-S<var>=<val>] [-o<dsofile>] [-D<name>[=<value>]]
> [-I<incdir>] [-L<libdir>] [-l<libname>] [-Wc,<flags>]
> [-Wl,<flags>] [-p]<files>  ...
> apxs -i [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> apxs -e [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> apxs:Error: Unknown option: -.
> Usage: apxs -g [-S<var>=<val>] -n<modname>
> apxs -q [-S<var>=<val>]<query>  ...
> apxs -c [-S<var>=<val>] [-o<dsofile>] [-D<name>[=<value>]]
> [-I<incdir>] [-L<libdir>] [-l<libname>] [-Wc,<flags>]
> [-Wl,<flags>] [-p]<files>  ...
> apxs -i [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> apxs -e [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> apxs:Error: Unknown option: -.
> Usage: apxs -g [-S<var>=<val>] -n<modname>
> apxs -q [-S<var>=<val>]<query>  ...
> apxs -c [-S<var>=<val>] [-o<dsofile>] [-D<name>[=<value>]]
> [-I<incdir>] [-L<libdir>] [-l<libname>] [-Wc,<flags>]
> [-Wl,<flags>] [-p]<files>  ...
> apxs -i [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> apxs -e [-S<var>=<val>] [-a] [-A] [-n<modname>]<dsofile>  ...
> configure: *** apr library not found.
> configure: error: apr library is required

This is a known issue with 2.5.9.  I suggest waiting for 2.5.10 due out 
later this week.

-B

-- 
Brian Rectanus
Breach Security

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
mod-security-users mailing list
mod-security-users@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic