|
Posted by Ben Morrow on March 28, 2008, 11:49 am
Please log in for more thread options
Quoth ronny204@googlemail.com:
> Thank you very much for your response. Here are the significant lines
> out of Makefile.PL:
>
> -------------------- 8< --------------------
>
> if ($wanted == 1) {
> require_mod_perl();
> if ($mod_perl::VERSION >= 1.99) {
> # so we don't pick 2.0 version if 1.0 is wanted
> die "You don't seem to have mod_perl 1.0 installed";
> }
> $selected = 1;
> }
> elsif ($wanted == 2) {
> #warn "Looking for mod_perl 2.0";
> require_mod_perl();
> if ($mod_perl::VERSION < 2.0) {
> die "You don't seem to have mod_perl 2.0 installed";
> }
> $selected = 2;
> }
>
> -------------------- 8< --------------------
>
> Our mod_perl -Version is 1.999021. This is greater than 1.99 and
> smaller than 2.0 ... so both options can not work. This is very strange.
It appears (though of course ICBW, because I don't really understand any
of this :) ) that mod_perl versions 1.99* are actually early versions of
mod_perl2 (that is, they require Apache 2, not Apache 1). I surmise that
you have Apache 2 installed: is this correct? It seems that
Apache2::Reload doesn't work with these older versions, so you will need
to install mod_perl-2.0, or rather mod_perl-2.0.3, since 2.0 itself is
no longer available. I would say that the error message is less than
helpful; something like 'To use this module with mod_perl2 you must have
at least v2.0 installed' would be much clearer, and just emitting a
straightforward dependancy on mod_perl-2.0 would be better still.
Ben
|