Do you have multiple versions of perl installed? Try a clean installation of perl and use the same compiler and same flags in building everything.
Regards, Jie On Mon, 28 Oct 2002, John E. Mendenhall wrote: > Date: Mon, 28 Oct 2002 12:44:07 -0800 (PST) > From: John E. Mendenhall <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: re: solaris 2.6, mod_perl 1.27, apache 1.3.27, make test fails > > Gurus, > > I have compiled mod_perl 1.27 with apache 1.3.27 under perl 5.8.0, solaris > 2.6, using gcc 2.7.2.3. When I run the make test, it fails with the > following in the error_log: > > /usr/local/bin/perl5.8.0 t/TEST 0 > modules/actions.......ok > modules/cgi...........FAILED test 4 > Failed 1/5 tests, 80.00% okay > modules/constants.....ok > modules/cookie........skipped > all skipped: no reason given > modules/file..........ok > modules/httpdconf.....ok > modules/include.......ok > modules/log...........ok > modules/module........skipped > all skipped: no reason given > modules/perlrun.......skipped > all skipped: no reason given > modules/psections.....skipped > all skipped: no reason given > modules/request.......FAILED tests 1-10 > Failed 10/10 tests, 0.00% okay > modules/src...........ok > modules/stage.........skipped > all skipped: no reason given > modules/status........fetch /perl/perl-status failed! > modules/status........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1-7 > Failed 7/7 tests, 0.00% okay > modules/symbol........skipped > all skipped: no reason given > modules/uri...........skipped > all skipped: no reason given > modules/util..........skipped > all skipped: no reason given > internal/... > > The remainder of the tests fail for the most part because the apache > server dies somewhere around the modules/request tests, most likely > before. > > The logs/error_log shows: > > [notice] Destruction->DESTROY called for $global_object > Subroutine fileparse_set_fstype redefined at > /usr/local/lib/perl5/5.8.0/File/Basename.pm line 154. > Subroutine fileparse redefined at > /usr/local/lib/perl5/5.8.0/File/Basename.pm line 168. > Subroutine basename redefined at > /usr/local/lib/perl5/5.8.0/File/Basename.pm line 235. > Subroutine dirname redefined at > /usr/local/lib/perl5/5.8.0/File/Basename.pm line 248. > Constant subroutine CGI::XHTML_DTD redefined at > /usr/local/lib/perl5/5.8.0/constant.pm line 108. > [Mon Oct 28 12:29:58 2002] [warn] [notice] child_init for process 19757, > report any problems to [no address given] > > When I attempt to run the single test modules/request, I get the following > output: > > % ./TEST -v modules/request > modules/request....module Apache::Request is installed > 1..10 > not ok 1 > HTTP/1.1 200 OK > Connection: close > Date: Mon, 28 Oct 2002 20:32:25 GMT > Server: Apache/1.3.27 (Unix) mod_perl/1.27 Perl/v5.8.0 mod_layout/3.2 > Content-Type: text/plain > Client-Date: Mon, 28 Oct 2002 20:32:25 GMT > Client-Peer: 127.0.0.1:8529 > > 1..0 > Test header seen more than once! > /usr/local/lib/perl5/site_perl/Apache/Request.pm > > not ok 2 > HTTP/1.1 200 OK > Connection: close > Date: Mon, 28 Oct 2002 20:32:25 GMT > Server: Apache/1.3.27 (Unix) mod_perl/1.27 Perl/v5.8.0 mod_layout/3.2 > Content-Type: text/plain > Client-Date: Mon, 28 Oct 2002 20:32:25 GMT > Client-Peer: 127.0.0.1:8529 > > 1..0 > Test header seen more than once! > /usr/local/lib/perl5/site_perl/Apache/Request.pm > > not ok 3 > /usr/local/lib/perl5/5.8.0/pod/perlfunc.pod should have 6496 lines > (request-upload.pl says: ) > not ok 4 > not ok 5 > /usr/local/lib/perl5/5.8.0/pod/perlpod.pod should have 685 lines > (request-upload.pl says: ) > not ok 6 > not ok 7 > /usr/local/lib/perl5/5.8.0/pod/perlxs.pod should have 1980 lines > (request-upload.pl says: ) > not ok 8 > not ok 9 > /usr/local/src/mod_perl/mod_perl-1.27/t/docs/book.gif should have 113 > lines (request-upload.pl says: ) > not ok 10 > > When I try to run all the tests that went before that, all running them as > single tests, none of them cause the server to die. The modules/cgi test > causes a single on error #4 for that test. The output is: > > ServerError: Insecure dependency in sysopen while running with -T switch > at (eval 197) line 8. > > error-notes is also set > dump of %@: > /perl/cgi.pl = Insecure dependency in sysopen while running with -T switch > at (eval 197) line 8. > > The output in the logs/error_log is: > > [Mon Oct 28 12:37:52 2002] [error] Insecure dependency in sysopen while > running with -T switch at (eval 197) line 8. > > Background: > > I have used mod_perl up through versions 1.15, using perl 5.004_04, and > earlier versions of Apache. I am trying to upgrade to the latest stable > releases of everything and it just does not seem to be working. I have > checked the list archives as well as google and anywhere else I could > think of and could not find why it is not working. Any help is > appreciated. Please let me know if you need any additional information. > > Thank you very much. > > JohnM > > ## John Mendenhall > ## [EMAIL PROTECTED] > ## Senior Network/Systems Administrator > > >