Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Installing module Apache2::Reload failed
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

Report this thread to moderator Post Follow-up to this message
Old Post
ronny204@googlemail.com
03-28-08 09:40 AM


Re: Installing module Apache2::Reload failed
ronny204@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://zat.nl/[/url]

Report this thread to moderator Post Follow-up to this message
Old Post
Joost Diepenmaat
03-28-08 01:07 PM


Re: Installing module Apache2::Reload failed
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?

Ronny.

Report this thread to moderator Post Follow-up to this message
Old Post
ronny204@googlemail.com
03-29-08 12:16 AM


Re: Installing module Apache2::Reload failed
ronny204@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://zat.nl/[/url]

Report this thread to moderator Post Follow-up to this message
Old Post
Joost Diepenmaat
03-29-08 12:16 AM


Re: Installing module Apache2::Reload failed
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.

Report this thread to moderator Post Follow-up to this message
Old Post
ronny204@googlemail.com
03-29-08 12:16 AM


Re: Installing module Apache2::Reload failed
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


Report this thread to moderator Post Follow-up to this message
Old Post
Ben Morrow
03-29-08 12:16 AM


Re: Installing module Apache2::Reload failed
Dear 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

Report this thread to moderator Post Follow-up to this message
Old Post
ronny204@googlemail.com
03-29-08 12:16 AM


Re: Installing module Apache2::Reload failed
Hi 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?

Report this thread to moderator Post Follow-up to this message
Old Post
jaroslav.kondas@gmail.com
04-03-08 11:15 AM


Re: Installing module Apache2::Reload failed
On 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 :)

Report this thread to moderator Post Follow-up to this message
Old Post
jaroslav.kondas@gmail.com
04-03-08 11:15 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Miscellaneous archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:01 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.