I found a "apache2-devel" RPM that installed apxs2
in /usr/sbin/apaxs2. For proof, here is the output:
[root@server native]# /usr/sbin/apxs2
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> ...
Now, I run the following:
and at the end I get this:
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
could not find /usr/sbin/apxs2
configure: error: You must specify a valid --with-apxs path
I obviously just supplied it with the correct path. Why isn't it working?