Re: Install Problem: make test: modules/src.t
Mark Hawkes wrote: When I 'make test' I'm getting failures relating to modules/src.t [...] $ make test TEST_VERBOSE=1 <--snip--> dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay <--snip--> Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29 what t/logs/error_log has to say about that? BTW, you can run just one test: % make start_httpd % t/TEST -v modules/src.t % make stop_httpd Please remember to follow the guidelines at: http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems to get the issues resolved much faster. -- __ 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: Install Problem: make test: modules/src.t
Hi there, On Sun, 22 Dec 2002, Mark Hawkes wrote: > Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as > root or it can't write to the Apache directory. [snip] > >-Original Message- > >From: Mark Hawkes [mailto:[EMAIL PROTECTED]] > >Sent: Saturday, December 21, 2002 12:00 PM > >To: [EMAIL PROTECTED] > >Subject: Install Problem: make test: modules/src.t > > > > > >When I 'make test' I'm getting failures relating to modules/src.t > >Can anyone help? > > > >-- PLATFORM -- > > > >OS: Slackware Linux 2.2.16 > >Perl: 5.6.0 > >mod_perl: 1.27 > >Apache: Apache/1.3.12 (Unix) PHP/4.2.3 > > > >Apache root:/var/lib/apache > >mod_perl build dir: /var/lib/apache/mod_perl-1.27 Firstly I think you should upgrade your Apache to the latest. You'll probably then need to sort out (in your head:) the changes in the default installation directory structure, as Apache uses /usr/local nowadays instead of /var/lib. Sigh. If I were you I'd upgrade that kernel too, but I'm not sure it would be very helpful at this stage unless you're very familiar with kernels as you'd need to upgrade a bunch of tools as well for the upgrade to work. You say that 'make test' won't run unless you're root. That's bad. You should really be building Apache and mod_perl (and just about everything else) as a normal user in a directory to which you have write access, for example I tend to use /home/ged/src/apache_1.3.xx /home/ged/src/mod_perl-1.xx and if I'm going to need SSL, a database, whatever... /home/ged/src/openssl-0.9.6g /home/ged/src/mod_ssl-2.8.11-1.3.27 /home/ged/src/mysql-3.23.46 and so on. The only time you need to be root is when you "make install". The instructions are usually fairly clear in the INSTALL doc's but I'll grant you it can be a tad confusing at first because there's such a lot of it. I think you need to clean out those source directories (with care:) and start again. It's all in the Guide. 73, Ged.
RE: Install Problem: make test: modules/src.t
Hi Mark - Gee, Stas told me I _had_ to be a normal user for 'make test' - and it worked...??? Wait ... I'm talking mod_perl 2 - are you installing 1? Yea, I see that in your orig. msg. Sorry - I haven't played with mod_perl 1. But - is there a testing error_log? Can you run the failed tests alone in -v mode? For mod_perl 2 you can say: t/TEST -v testname. Sorry I'm not much help... Aloha => Beau. -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: RE: Install Problem: make test: modules/src.t Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as root or it can't write to the Apache directory. At 12:10 2002-12-21 -1000, you wrote: >Hi - > >I had testing problems a few weeks ago... >be sure you test as a 'normal' user, not 'root'. >If you did the make under root, be sure to change >user:group ownership of the entire mod_perl tree >before logging in and testing. > >I'm _not_ an expert, but that's what happened to >me :) > >Aloha => Beau. > >-Original Message- >From: Mark Hawkes [mailto:[EMAIL PROTECTED]] >Sent: Saturday, December 21, 2002 12:00 PM >To: [EMAIL PROTECTED] >Subject: Install Problem: make test: modules/src.t > > >When I 'make test' I'm getting failures relating to modules/src.t >Can anyone help? > >-- PLATFORM -- > >OS: Slackware Linux 2.2.16 >Perl: 5.6.0 >mod_perl: 1.27 >Apache: Apache/1.3.12 (Unix) PHP/4.2.3 > >Apache root:/var/lib/apache >mod_perl build dir: /var/lib/apache/mod_perl-1.27 > > >-- PROBLEM OCCURRENCE -- > >$ perl Makefile.PL \ > > EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 >Configure mod_perl with ../src ? [y] y >Shall I build httpd in ../src for you? [y] y > >$ make > >Everything is good until I run the tests :-/ > >$ make test TEST_VERBOSE=1 ><--snip--> >dir=../src >ok 2 >main= >not ok 3 >module_magic_number = 0 >not ok 4 >httpd_version = >not ok 5 >-I../src -I../src/modules/perl >ok 6 >FAILED tests 3-5 > Failed 3/6 tests, 50.00% okay ><--snip--> >Failed Test Status Wstat Total Fail Failed List of failed >--- - >--- >modules/src.t 63 50.00% 3-5 >6 tests skipped. >httpd terminated >Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. >make: *** [run_tests] Error 29
RE: Install Problem: make test: modules/src.t
Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as root or it can't write to the Apache directory. At 12:10 2002-12-21 -1000, you wrote: Hi - I had testing problems a few weeks ago... be sure you test as a 'normal' user, not 'root'. If you did the make under root, be sure to change user:group ownership of the entire mod_perl tree before logging in and testing. I'm _not_ an expert, but that's what happened to me :) Aloha => Beau. -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Install Problem: make test: modules/src.t When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 -- PROBLEM OCCURRENCE -- $ perl Makefile.PL \ > EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 Configure mod_perl with ../src ? [y] y Shall I build httpd in ../src for you? [y] y $ make Everything is good until I run the tests :-/ $ make test TEST_VERBOSE=1 <--snip--> dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay <--snip--> Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29
RE: Install Problem: make test: modules/src.t
Hi - I had testing problems a few weeks ago... be sure you test as a 'normal' user, not 'root'. If you did the make under root, be sure to change user:group ownership of the entire mod_perl tree before logging in and testing. I'm _not_ an expert, but that's what happened to me :) Aloha => Beau. -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Install Problem: make test: modules/src.t When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 -- PROBLEM OCCURRENCE -- $ perl Makefile.PL \ > EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 Configure mod_perl with ../src ? [y] y Shall I build httpd in ../src for you? [y] y $ make Everything is good until I run the tests :-/ $ make test TEST_VERBOSE=1 <--snip--> dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay <--snip--> Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29
Install Problem: make test: modules/src.t
When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 -- PROBLEM OCCURRENCE -- $ perl Makefile.PL \ > EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 Configure mod_perl with ../src ? [y] y Shall I build httpd in ../src for you? [y] y $ make Everything is good until I run the tests :-/ $ make test TEST_VERBOSE=1 <--snip--> dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay <--snip--> Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29