Yo,
Make sure you have the apache source that you compiled it from on the box, or the apache-devel rpm.
Try --with-apache=~usr/apache
It needs the root where the libs and header files live, so aiming it at /include will confuse configure since it automagically knows to check /include. It is looking for /apache/include/include the way you are doing it.
Or, if you are using DSO use the
--with-apxs=/usr/local/apache/bin/apxs
(or wherever apxs is)
in your configure directives.
DSO is the way if you don't have the source. Just did this myself.
Do a
locate -u; locate apxs
and find out if it is there. If there is multiple copies verify that the one you are using is the correct one. I was just installing this on a box where some bonehead had 3 apache installations. *&%#&$@
Damn the packrats!
Had to ps -jef to figure out where it was running from after 20 minutes of wondering why php wouldn't work!
L8,
Neil