Re: can't "use mod_perl" on debian
[prev]
[thread]
[next]
[Date index for 2005/04/24]
Philip M. Gollucci wrote:
> Jay Strauss wrote:
>
>> Hi,
>> # perl -Mmod_perl
>> Can't locate mod_perl.pm in @INC (@INC contains: /etc/perl
>> /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
>> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
>> /usr/local/lib/site_perl .).
>
> Versions of mod_perl before 2.0-RC5 install mod_perl in a location not
> in your stangard @INC. This should in @INC/Apache2/mod_perl.pm.
>
> You'll need to add a
> push @INC, "/path/to/lib/Apache2";
> line to the Makefile.PL or whatever files use mod_perl.pm and related
> files for Kwiki.
>
> Thats why you need the Apache2.pm module, which _is_ in your standard
> @INC, as it adjusts your @INC to include these directories.
>
Thanks, adding the path to mod_perl.pm to my PERL5LIB worked perfect
Jay