Installing Apache httpd 2.4 "--with-included-apr"
I have just run into the exact same issue, the final error message was deceiving. The actual error had occurred previously in the script and was permission denied. after giving execute to all .sh files in the build directories of both 'apr' and 'apr-util' it worked perfectly.
Related videos on Youtube
![Baez](https://i.stack.imgur.com/CLDuR.jpg?s=256&g=1)
Baez
Lead Engineer @ Quantum Mob Co-founder of env.ms Maintainer of Open Source Software Feel free to contact me about anything and everything!
Updated on September 18, 2022Comments
-
Baez almost 2 years
I'm trying to install Apache httpd 2.4.9 on a bare CentOS 6.5 server.
Using the command
./configure --prefix=/etc/httpd --with-included-apr
, the installation of httpd goes smoothly until it gets to the configuration ofapr-util
. It then provides the standard error when it can't find a suitable apr directory:checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. configure failed for srclib/apr-util
The first instance it checks for APR, it passes. The second when configuring
apr-util
fails. Currently I have bothapr
andapr-util
in/etc/httpd/httpd-2.4.9/srclib
.Would moving the installation files from
/etc/httpd
(meaning thehttpd-2.4.9
directory) affect the install in any way? Perhaps movingapr
andapr-util
to another location entirely and then using the option--with-apr
instead.-
Michael Hampton over 10 yearsYou probably need to place those in the build directory, not with your configuration files.
-
Unbeliever over 7 yearsThe
srclib
directory from the exploded source tarball is correct, but you must rename the apr/apr-util so that there is no version number in the directory name. where you compile it shouldn't really matter.
-
-
bgtvfr over 6 yearssounds like a bug report can be sent