Hi there,
When installing mod_perl 2.0.2 on a Red Linux Enterprise Server 3 workstation the following error occurs during the below installation steps:
Step 1: perl Makefile.PL
Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.
If you don't yet have Apache installed you can build Apache against
the Apache source code, but you won't be able to run the test suite (a
very important step). Therefore you may want to install Apache before
proceeding.
Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed): Enter is pressed here
Please provide the location of the Apache directory: /usr/sbin Use of uninitialized value in concatenation (.) or string at lib/Apache2/Build.pm line 1388.
[ error] Unable to determine server version, aborting.
[ error] Please specify MP_APXS or MP_AP_PREFIX.
In addition, prior to the above error the following occurred:
Please provide the location of the Apache directory: /usr/sbin
[ error] Unable to open /usr/sbin/ap_release.h: No such file or directory
[ error] Unable to determine server version, aborting.
[ error] Please specify MP_APXS or MP_AP_PREFIX.
Where do I acquire the ap_release.h header file that mod-perl is looking for. It is currently nowhere on my Linux box. Do I need to install another apache package or bundle. Currently I have Apache 2.0.46 installed on running on the Linux box.
Any help with this ASAP would be great.
Thanks,
Darrick
Start Free Trial