I am trying to install the module Apache2::Reload but when I do perl
Makefile.PL it returns the quote: "You don't seem to have mod_perl 1.0
installed at Makefile.PL line 112."
Makefile.pl (line 112 ff):
-------------------- 8< --------------------
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";
}
-------------------- 8< --------------------
We have installed mod_perl 1.999021 and Apache2 on Solaris 9.
Any idea, how it can be done?
Best regards,
Ronny
> Dears,
>
> I am trying to install the module Apache2::Reload but when I do perl
> Makefile.PL it returns the quote: "You don't seem to have mod_perl 1.0
> installed at Makefile.PL line 112."
The Apache::Reload distribution installs different modules depending if
you want mod_perl 1.x or mod_perl 2. It looks like you can force
mod_perl 2 by setting the MOD_PERL_2_BUILD environment variable before
running Makefile.PL
Joost.
--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
I've tried to set this variable and it now returns a quote: "You don't
seem to have mod_perl 2.0 installed at Makefile.PL line 120." :(
Any idea what now?
Ronny.
Sounds like you may not have a complete mod_perl 2 installation, or you
have two or more perls installed and you're trying to install
Apache::Reload using the wrong one. You may want to try to re-install
mod_perl, and check for additional perl installs.
If that still doesn't help or turn up more information, I'm out of ideas.
-------------------- 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
I think your idea is correct. But its very strange, at least to me,
that there ist no version working with our mod_perl 1.99... .
So I am going to check if we can change our mod_perl -version.
Ronny
the installation of mod_perl 2.0.3 on mod_perl 1.999021, but now i
cannot run the Apache. i run it as permitted user, but it returns a
quote: "no listening socket available, shutting down unable to open
logs". i checked the processes and no process is running on this
port... so now a rollback is needed. can anyone help me with this
please?
sorry for errors, bu i'm in a hurry :) i've made corrections to the
text :)