Code Comments
Programming Forum and web based access to our favorite programming groups.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."
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
Post Follow-up to this messageronny204@googlemail.com writes: > 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: [url]http://joost.zat.nl/[/url] | work: [url]http://z
at.nl/[/url]
Post Follow-up to this messageDear Joost. 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.
Post Follow-up to this messageronny204@googlemail.com writes: > Dear Joost. > > 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? 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. -- Joost Diepenmaat | blog: [url]http://joost.zat.nl/[/url] | work: [url]http://z
at.nl/[/url]
Post Follow-up to this messageThank 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.
Post Follow-up to this message
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
Post Follow-up to this messageDear 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
Post Follow-up to this messageHi all, 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?
Post Follow-up to this messageOn 3. Apr, 11:19 h., jaroslav.kon...@gmail.com wrote: > Hi all, > > the installation of mod_perl 2.0.3 on mod_perl 1.999021 was successful, bu t 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've 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 :)
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.