installing mod_perl?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

hi everyone,

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 to install.

I get a warning that says:

************* WARNING *************

  Your Perl is configured to link against libgdbm,
  but was not found.
  You could just symlink it to /usr/lib/

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



eddiec :-)

Re: installing mod_perl?

Quoted text here. Click to load it


Quoted text here. Click to load it

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  You can not
simply run perl to make mod_perl.

Quoted text here. Click to load it

It is asking for the Apache source tree.

Quoted text here. Click to load it

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

Site Timeline