I am trying to build PHP 5.2.5 on Fedora 8. The error I am getting is Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) The output of /usr/sbin/apxs follows: cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201. configure: error: Aborting apxs is indeed installed at the location I specified in the configure script. However, when I try to run apxs manually, I get that same error. cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/sbin/apxs line 201. This is on Apache 2.2.8 and Perl 5.8.8. Any ideas?