On Aug 3, 2006, at 3:03 PM, Michael Peters wrote:
>
>
> Joel Gwynn wrote:
>>>>
>>>>
>>>> Joel Gwynn wrote:
>>>>> $VERSION = '1.21';
>>>>
>>>> Any chance you could upgrade Apache::Test and then try again? If
>>> that works then
>>>> I'll bump up the required version of Apache::Test to work with
>>> Dispatch.
>>>>
>>>
>>> Sweet! That seems to have fixed it. Thanks a bunch!
>>>
>>> Joel
>>>
>>
>> OK. Now I'm getting this in my error log when I actually run it:
>>
>> failed to resolve handler `CGI::Application::Dispatch': Can't locate
>> Apache/Constants.pm in @INC
>
> Which version of apache are you running? What do these say when run
> from the shell?
> locate Apache/Constants.pm
> locate Apache2/Constants.pm
The Apache2 constant file is in Apache2/Const.pm.
Joel since you are using Debian enter this commant:
dpkg --list '*mod-perl*'
You need to have either libapache-mod-perl or libapache2-mod-perl
installed for the constants file. If you are running anything other
than stable (i.e. testing or etch or whatever) you should have
libapache2 installed since the default apache server is 2 (I think it
is in stable as well but I am not 100% certain).
After you get this to work let me know if you get error 200 when you
load the page in the browser. That was my problem (I am also using
Debian). I wrote a fix that hides this innocent error.
Michael Petnuch
*sigh*. So in my available packages I have libapache2-mod-perl2, but
when I went to install it, it said it was already installed. So I got
the bright idea of uninstalling it, then re-installing. Now I seem to
have completely broken my mod_perl, because I'm getting errors like
this when re-starting Apache:
Invalid command 'PerlResponseHandler'
The dpkg command returns this:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un libapache-mod- <none> (no description available)
ii libapache2-mod 1.999.21-1 Integration of perl with the Apache2 web ser