J
john_ramsden
I am trying to install HTML::Mason, for use with Apache 2.0.48
mod_perl v2. on Windows (using ActiveState perl v5.8.4) and wondered if
anyone had encountered the same problems with a similar combination.
When I try running apache.exe manually, it aborts with the following
error (lines wrapped for readability):
Can't locate HTML/Mason/ApacheHandler.pm in @INC
(@INC contains: C:\Program Files\ActiveState
Perl Dev Kit 6.0\lib\
. C:/Program Files/Apache Group/Apache2) at (eval 2) line 3.
I then try running perl manually, to see if this module is installed:
perl -MHTML::Mason::ApacheHandler -e 1
which results in the following error message:
Can't locate Apache/Constants.pm in @INC
(@INC contains: C:\Program Files\ActiveState
Perl Dev Kit 6.0\lib\
C:/Perl/lib
C:/Perl/site/lib .)
at C:/Perl/site/lib/HTML/Mason/ApacheHandler.pm line 13.
So it appears the ApacheHandler.pm module is installed but references
another module, Apache::Constants.pm.
However, I can't for the life of me find this blasted
Apache::Constants.pm module, not via ppm or even a Google
search.
Any ideas?
I did see a note on one web page to the effect that something
in Mason or mod_perl didn't like spaces in file names (despite this
being the 2000s not the 1970s).
To rule out that possibility I'd be happy to change all the
file names in @INC paths to use the DOS 8.3 compatibility
ones, such as Progra~1 instead of 'Program Files'. Does
anyone know where to access the predefined @INC path list
for this purpose?
mod_perl v2. on Windows (using ActiveState perl v5.8.4) and wondered if
anyone had encountered the same problems with a similar combination.
When I try running apache.exe manually, it aborts with the following
error (lines wrapped for readability):
Can't locate HTML/Mason/ApacheHandler.pm in @INC
(@INC contains: C:\Program Files\ActiveState
Perl Dev Kit 6.0\lib\
. C:/Program Files/Apache Group/Apache2) at (eval 2) line 3.
I then try running perl manually, to see if this module is installed:
perl -MHTML::Mason::ApacheHandler -e 1
which results in the following error message:
Can't locate Apache/Constants.pm in @INC
(@INC contains: C:\Program Files\ActiveState
Perl Dev Kit 6.0\lib\
C:/Perl/lib
C:/Perl/site/lib .)
at C:/Perl/site/lib/HTML/Mason/ApacheHandler.pm line 13.
So it appears the ApacheHandler.pm module is installed but references
another module, Apache::Constants.pm.
However, I can't for the life of me find this blasted
Apache::Constants.pm module, not via ppm or even a Google
search.
Any ideas?
I did see a note on one web page to the effect that something
in Mason or mod_perl didn't like spaces in file names (despite this
being the 2000s not the 1970s).
To rule out that possibility I'd be happy to change all the
file names in @INC paths to use the DOS 8.3 compatibility
ones, such as Progra~1 instead of 'Program Files'. Does
anyone know where to access the predefined @INC path list
for this purpose?