Re: installing mod_perl?



On 2005-07-21, pc <chalk@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information

.



Relevant Pages

  • Re: Setting up mod_perl
    ... I am trying to install and get mod_perl up and running. ... This is the error I see in apache error_log when firefox tries to open ... The file mod_perl_rules1.pl is just the bare minimal perl file from ...
    (comp.lang.perl.misc)
  • Re: [PHP] Question before upgrading to 5
    ... anyway I see you did do a dual apache setup, cool, and got it working properly. ... but it sure is a cool trick if you really need to run php4 sites and php5 sites on one production ... install of apache would allow you to do. ... php in so far as you can also specify a custom prefix to have ...
    (php.general)
  • Packaging Apache/mod_ssl/mod_perl for deployment
    ... Currently, I need to update it to Apache 1.3.31, mod_ssl, mod_perl. ... At first, it seems simple, configure, make and make install in a folder then ... create a package to deploy but my problem is more with perl. ... How can I package perl prerequisites? ...
    (SunManagers)
  • Re: PHP Tutorials
    ... >> In this tutorial we assume that your server has activated support for PHP ... install a web server locally (not just Apache). ...
    (comp.lang.php)
  • Re: Two newbie questions
    ... Apache to install OK but when I then tried to install PHP ... The packages mean it generally takes less skill and effort to install - ...
    (comp.lang.php)