Click here to get back home

installing mod_perl?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
installing mod_perl? pc 07-20-2005
Posted by pc on July 20, 2005, 9:05 pm
Please log in for more thread options


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 :-)



Posted by Keith Keller on July 20, 2005, 9:22 pm
Please log in for more thread options


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



Similar ThreadsPosted
CGI.pm and ModPerl::Registry December 21, 2007, 11:20 pm
modperl and apache handlers December 28, 2004, 5:38 am
CPAN conflict issue - CGI.pm vs ModPerl::Registry September 25, 2006, 12:42 pm
Installing GD November 8, 2005, 2:05 pm
Installing Tk November 13, 2005, 10:49 pm
[Q] Installing GD September 25, 2006, 6:38 pm
Error Installing XML::DOM October 15, 2004, 9:16 am
Trouble installing GD November 5, 2004, 10:51 am
installing modules? September 29, 2005, 1:52 pm
Need help installing via CPAN March 17, 2005, 3:33 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap