Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 21, 2005, 1:05 am
rate this thread
I have installed apache 2 on ubuntu and it is running fine. Perl is not
running on Apache , however. I downloaded mod_perl-2.0.1 and tried
running the Makefile.pl to install.
I get a warning that says:
************* WARNING *************
Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You could just symlink it to /usr/lib/libgdbm.so.3.0.0
Next I get a prompt for apxs, this is not installed so I just press
enter, as prompted.
After this the script requests the location of the Apache folder. This
is what I get:
Please provide the location of the Apache directory: /etc/apache2
[ error] Unable to open /etc/apache2/ap_release.h: No such file or
[ error] Unable to determine server version, aborting.
[ error] Please specify MP_APXS or MP_AP_PREFIX.
I have done a find for the ap_release.h file and there is no such file
on my computer. I tried downloading apache and pointing the Mod_perl
script at the downloaded software but this also did not work. Using
apt-get dosen't work, I get invalid operation.
root@aptiva:/home/eddie # apt-get install mod_perl
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package mod_perl
Re: installing mod_perl?
If you do not have apxs, then you must have the Apache 2 source tree in
order to install mod_perl 2. Please read fully the install instructions
in either the mod_perl source tree or perl.apache.org. You can not
simply run perl Makefile.pl to make mod_perl.
It is asking for the Apache source tree.
And ap_release.h is in the Apache source tree. Again, this is all
documented in the installation documentation. If you don't read it
carefully and understand it, you will have a difficult time installing
(try just my userid to email me)
see X- headers for PGP signature information