When installing Apache on Ubuntu 11.10, I get the following error:
configure: error: APR not found. Please read the documentation.
For me (Fedora Linux), it was enough to just install the pcre-devel: yum install -y pcre-devel. Didn't even have to use --with-pcre afterwards.
yum install -y pcre-devel
--with-pcre