RE: [mp2] the make test problem saga continues...
Sir: You are correct; after changing owner:group settings to my normal user, apr/perlio worked fine under that user! Const.pm apache/subprocess fail in the same way as under root. progress...ain't it great! :) Aloha = Beau. PS: boy, you are brave; over the years I've learned not to say: I'm 100% sure that... but, yes, it worked. I seem to get burned almost every time I let that one slip! :) -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 4:14 AM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2] the make test problem saga continues... apache/subprocessFAILED tests 1-4 Failed 4/4 tests, 0.00% okay apr/perlio...FAILED tests 1-11 Failed 11/11 tests, 0.00% okay OK, finally I've figured what's different in your environment from mine: You run the test suite as root! I was able to reproduce the problem with apr/perlio. The problem is that when you run the test suite as root, Apache::Test runs the server under User: nobody, which explains the failure. The dir t/htdocs doesn't have a+wx perms. For now, please switch to your user, instead of root. And try again: I'm 100% sure that apr/perlio will work for you now. Does apache/subprocess now work for you? re: Apache::Const not found, I'm still trying to guess what could be the problem, since I can't reproduce it. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: [mp2] the make test problem saga continues...
C. same Apache/Const.pm not found: Can't locate Apache/Const.pm in @INC (@INC contains: [...] D. same tests failed: apache/subprocessFAILED tests 1-4 Failed 4/4 tests, 0.00% okay OK, here is the patch that will 100% :) fix these two problems (apply manually or just use the cvs version): Index: Apache-Test/lib/Apache/TestConfigPerl.pm === RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm,v retrieving revision 1.53 diff -u -r1.53 TestConfigPerl.pm --- Apache-Test/lib/Apache/TestConfigPerl.pm1 Jul 2002 07:57:15 - 1.53 +++ Apache-Test/lib/Apache/TestConfigPerl.pm3 Dec 2002 15:27:17 - @@ -282,6 +282,13 @@ sub configure_pm_tests { my $self = shift; +# since server wasn't started yet, the modules in blib under +# Apache2 can't be seen. So we must load Apache2.pm, without which +# run_apache_test_config might fail to require modules +if ($mod_perl::VERSION 1.99) { +require Apache2; +} + for my $subdir (qw(Response Protocol Hooks Filter)) { my $dir = catfile $self-{vars}-{t_dir}, lc $subdir; next unless -d $dir; -- I hope that now you get a clean make test. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: [mp2] the make test problem saga continues...
Ok Mr. 100%... ;-) I'll get cvs again. Aloha = Beau. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 5:33 AM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2] the make test problem saga continues... C. same Apache/Const.pm not found: Can't locate Apache/Const.pm in @INC (@INC contains: [...] D. same tests failed: apache/subprocessFAILED tests 1-4 Failed 4/4 tests, 0.00% okay OK, here is the patch that will 100% :) fix these two problems (apply manually or just use the cvs version): Index: Apache-Test/lib/Apache/TestConfigPerl.pm === RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm ,v retrieving revision 1.53 diff -u -r1.53 TestConfigPerl.pm --- Apache-Test/lib/Apache/TestConfigPerl.pm1 Jul 2002 07:57:15 - 1.53 +++ Apache-Test/lib/Apache/TestConfigPerl.pm3 Dec 2002 15:27:17 - @@ -282,6 +282,13 @@ sub configure_pm_tests { my $self = shift; +# since server wasn't started yet, the modules in blib under +# Apache2 can't be seen. So we must load Apache2.pm, without which +# run_apache_test_config might fail to require modules +if ($mod_perl::VERSION 1.99) { +require Apache2; +} + for my $subdir (qw(Response Protocol Hooks Filter)) { my $dir = catfile $self-{vars}-{t_dir}, lc $subdir; next unless -d $dir; -- I hope that now you get a clean make test. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: [mp2] the make test problem saga continues...
THIS THREAD IS OFFICIALLY RETIRED Yes, everthing works (although I still miss being King). Thank you for your time and effort. I hope others will benefit from what we went through. Aloha = Beau. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 5:33 AM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2] the make test problem saga continues... C. same Apache/Const.pm not found: Can't locate Apache/Const.pm in @INC (@INC contains: [...] D. same tests failed: apache/subprocessFAILED tests 1-4 Failed 4/4 tests, 0.00% okay OK, here is the patch that will 100% :) fix these two problems (apply manually or just use the cvs version): Index: Apache-Test/lib/Apache/TestConfigPerl.pm === RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm ,v retrieving revision 1.53 diff -u -r1.53 TestConfigPerl.pm --- Apache-Test/lib/Apache/TestConfigPerl.pm1 Jul 2002 07:57:15 - 1.53 +++ Apache-Test/lib/Apache/TestConfigPerl.pm3 Dec 2002 15:27:17 - @@ -282,6 +282,13 @@ sub configure_pm_tests { my $self = shift; +# since server wasn't started yet, the modules in blib under +# Apache2 can't be seen. So we must load Apache2.pm, without which +# run_apache_test_config might fail to require modules +if ($mod_perl::VERSION 1.99) { +require Apache2; +} + for my $subdir (qw(Response Protocol Hooks Filter)) { my $dir = catfile $self-{vars}-{t_dir}, lc $subdir; next unless -d $dir; -- I hope that now you get a clean make test. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com