(previously in this thread: make test is failing for modules/cgi, and the
reason is the shebang line in t/net/perl/cgi.pl is pointing to an old
version of perl.)
At 01:34 PM 12/21/99 -0800, Doug MacEachern wrote:
>> 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 tested under mod_cgi, have a look, maybe the
>#!/.../perl line is wrong?
Yes, you are correct. I know I'm missing something obvious, but I'm still
unclear how to fix it.
I thought using --with-perl would solve the problem, but no luck.
% /usr/local/bin/perl5.00503 Makefile.PL \
APACHE_PREFIX=$HOME/httpd_heavy \
APACHE_SRC=../apache_1.3.9/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1 \
APACI_ARGS=--with-perl=/usr/local/bin/perl5.00503
But that still leaves shebang as #!/usr/local/bin/perl which is perl 5.002
And also, I'm curious why the following two builds set the shebang line
correctly, especially when building with the local copy of perl.
These two work correctly:
% $HOME/perltest/bin/perl Makefile.PL \
APACHE_PREFIX=$HOME/httpd_heavy \
APACHE_SRC=../apache_1.3.9/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1
% /usr/local/bin/perl5.005 Makefile.PL \
APACHE_PREFIX=$HOME/httpd_heavy \
APACHE_SRC=../apache_1.3.9/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1
Bill Moseley
mailto:[EMAIL PROTECTED]