On Thu, 16 Dec 1999, Bill Moseley wrote:
What obvious thing am I missing?
During make test this gets written to the error log:
Can't locate CGI.pm in @INC at /mod_perl-1.21/t/net/perl/cgi.pl line 7.
that's a strange error, because 5.005+ reports the @INC paths, e.g.:
% perl -MNotHere
79) %grep cgi.pl t/logs/error_log
Can't locate CGI.pm in @INC at
/data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl line 3.
again, I don't think it's possible for 5.005+ to produce this error
message without listing the contents of @INC. cgi.pl is generated from
cgi.pl.PL and also
Can't locate CGI.pm in @INC at
/mod_perl-1.21/t/net/perl/cgi.pl line 7.
If CGI.pm readable by the user running apache?
At 11:13 AM 12/17/99 +0100, Kees Vonk 7249 24549 wrote:
Can't locate CGI.pm in @INC at
/mod_perl-1.21/t/net/perl/cgi.pl line 7.
If CGI.pm readable by the user running apache?
Yes.
125) ~ %/usr/local/bin/perl5.00503 -MCGI -e 'print $CGI::VERSION,"\n"'
2.46
Bill Moseley
mailto:[EMAIL
What obvious thing am I missing?
During make test this gets written to the error log:
Can't locate CGI.pm in @INC at /mod_perl-1.21/t/net/perl/cgi.pl line 7.
Ok, so I print out @INC in cgi.pl.
78) %head t/net/perl/cgi.pl
#!/usr/local/bin/perl
BEGIN {
print STDERR join("\n", @INC), "\n";
}
Allow me to better describe what's happening.
Here's the summary:
The site I'm working on built a new version of perl. Old 5.005, and the
new is 5.005_03.
I can build mod_perl fine using the old 5.005, but not the new 5.005_03.
I'm not building any of this as root, but that shouldn't be a