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 problem.

Ok, I just download my own copy of perl 5.005_03 and built it in a local
directory and used that to build mod_perl.  That worked just fine.

Question:
How do I figure out what's the problem with the new build of 5.005_03?
Would posting -V from the various perl's help?

Here's how I'm building.

61) %/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
[...]
make
make test

All tests successful, 8 tests skipped.
Files=36,  Tests=370, 19 wallclock secs (13.20 cusr +  2.60 csys = 15.80 CPU)
kill `cat t/logs/httpd.pid`
rm -f t/logs/httpd.pid
rm -f t/logs/error_log

OK.  So now try with this with perl 5.005_03

69) %/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
[...]
make
make test

letting apache warm up...done
/usr/local/bin/perl5.00503 t/TEST 0
modules/actions.....ok
modules/cgi.........FAILED test 5
        Failed 1/5 tests, 80.00% okay
modules/constants...ok
modules/cookie......skipping test on this platform
modules/file........ok
modules/httpdconf...ok
modules/include.....FAILED tests 2, 4
        Failed 2/4 tests, 50.00% okay
modules/log.........ok

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.
BEGIN failed--compilation aborted at
/data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl line 3.
[Thu Dec 16 16:55:27 1999] [error] [client 127.0.0.1] Premature end of
script headers: /data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl
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.
BEGIN failed--compilation aborted at
/data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl line 3.
[Thu Dec 16 16:55:30 1999] [error] [client 127.0.0.1] Premature end of
script headers: /data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl
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.
BEGIN failed--compilation aborted at
/data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl line 3.
[Thu Dec 16 16:55:30 1999] [error] [client 127.0.0.1] Premature end of
script headers: /data/_g/lii/apache/src/heavy/mod_perl-1.21/t/net/perl/cgi.pl

125) ~ %/usr/local/bin/perl5.00503 -MCGI -e 'print $CGI::VERSION,"\n"'
2.46

Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to