installing mod_perl?

installing mod_perl?

am 21.07.2005 06:05:49 von pc

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 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
directory
[ 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

Help!

TIA

eddiec :-)

Re: installing mod_perl?

am 21.07.2005 06:22:16 von Keith Keller

On 2005-07-21, pc wrote:
>
> 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.

[snip]

> Next I get a prompt for apxs, this is not installed so I just press
> enter, as prompted.

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.

> After this the script requests the location of the Apache folder. This

It is asking for the Apache source tree.

> 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
> directory
> [ error] Unable to determine server version, aborting.
> [ error] Please specify MP_APXS or MP_AP_PREFIX.

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
mod_perl.

--keith

--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information