I have from time to time trying to get apache installation with perl. I follow the instructions on the mod_perl site located here: http://perl.apache.org/docs/2.0/user/install/install.html
I get to the part where he asks me to run this command, but I get an error:
$ perl Makefile.PL MP_APXS=/usr/local/httpd/prefork/bin/apxs Reading Makefile.PL args from @ARGV MP_APXS = /usr/local/httpd/prefork/bin/apxs no conflicting prior mod_perl version found - good. Configuring Apache/2.4.2 mod_perl/2.0.7 Perl/v5.12.3 [ error] Can't find apr include/ directory, [ error] use MP_APR_CONFIG=/path/to/apr-config
I ran the commands they suggested for installing apache to install my apache:
$ ./configure --prefix=$HOME/httpd/prefork --with-mpm=prefork $ make && make install
But I'm not sure where this apr-config application should be, as it does not look like anywhere else in my apache2 folder.
If this could be a problem, I am using Mac OS X 10.7.3. I know that the Apache server comes with Mac OS X, but I need to do this installation on another computer from scratch, so I have to start this entire installation from the very beginning on my computer.
Thanks for any help you can provide.
source share