John Saylor wrote:
hi
( 03.12.11 11:19 -0800 ) Stas Bekman:
try adding
$INC{"My.pm"} = __FILE__;
just before:
PerlChildInitHandler My::child_init
i did it and it's about the same. here's the error log:
OK, how about:
$INC{"My.pm"} = __FILE__;
$INC{"My/child_init.pm"} = __FILE__;
i apprecia
hi
( 03.12.11 11:19 -0800 ) Stas Bekman:
> try adding
>
> $INC{"My.pm"} = __FILE__;
>
>
> just before:
> PerlChildInitHandler My::child_init
i did it and it's about the same. here's the error log:
[Thu Dec 11 14:59:23 2003] [error] Can't locate My/child_init.pm in @INC (@INC
contains: /usr/
John Saylor wrote:
hi
( 03.11.26 13:46 -0800 ) Stas Bekman:
and if you add:
$INC{"My/child_init.pm"} = __FILE__;
similar to my previous patch.
This is not the right solution, but something to try. For some reason it
can't see the sub child_init created in startup.pl, and tries to find it in
hi
( 03.11.26 13:46 -0800 ) Stas Bekman:
> and if you add:
>
> $INC{"My/child_init.pm"} = __FILE__;
>
> similar to my previous patch.
>
> This is not the right solution, but something to try. For some reason it
> can't see the sub child_init created in startup.pl, and tries to find it in
>
John Saylor wrote:
[...]
and this is what's in the error log:
[Wed Nov 26 15:41:19 2003] [error] Can't locate My/child_init.pm in @INC (@INC c
ontains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/sit
e_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_
hi
( 03.11.26 10:45 -0800 ) Stas Bekman:
> Aha! Sorry for missing this point. Any luck with this patch?
> Index: t/docs/startup.pl
> ===
> RCS file: /home/cvs/modperl/t/docs/startup.pl,v
> retrieving revision 1.44
> diff -u -r1.44 st
John Saylor wrote:
when i run make test i keep getting errors like this:
[Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC
[...]
it's all in the mod_perl tests. this is not my code at all! this is the
part where the webserver starts up before doing the mod_perl testing. i
g
hi
> John Saylor wrote:
> >when i run make test i keep getting errors like this:
> >
> >[Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC
> >(@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0
> >/usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_
John Saylor wrote:
hi
i'm trying so hard to be good and follow directions.
it's be also helpful if you had submitted a proper bug report, at least so we
have an idea which mod_perl version you are talking about and some sample code
;) But I can see from your @INC that's 1.x.
In the future please