well, yes, by trick i meant that 'makefile.pl' and 'make && make test' parts of the build proceeded rather normally. my loopback is up and running: ... lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11793 errors:0 dropped:0 overruns:0 frame:0 TX packets:11793 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4163692 (3.9 Mb) TX bytes:4163692 (3.9 Mb)
incidently, do i have to install cgi.pm and apache::register modules? i checked t/error_logs and here is what i get as result of test: END in modperl_extra.pl, pid=7711 END in modperl_extra.pl, pid=7711 [Sun Jan 26 00:14:19 2003] [notice] Apache/2.0.43 (Unix) mod_perl/1.99_08 Perl/v5.8.0 PHP/4.3.0 configured -- resuming normal operations [Sun Jan 26 00:14:19 2003] [info] Server built: Jan 21 2003 11:54:23 [Sun Jan 26 00:14:19 2003] [debug] prefork.c(1039): AcceptMutex: sysvsem (default: sysvsem) [Sun Jan 26 00:14:20 2003] [error] server reached MaxClients setting, consider raising the MaxClients setting [Sun Jan 26 00:14:55 2003] [info] [client 127.0.0.1] TestAPI::aplog test in progress [Sun Jan 26 00:14:55 2003] [debug] /tmp/dloads/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(43): log_serror test ok [Sun Jan 26 00:14:55 2003] [debug] /tmp/dloads/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(46): (20007)No time was provided and one was required.: log_serror test 2 ok [Sun Jan 26 00:14:55 2003] [debug] /tmp/dloads/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(49): [client 127.0.0.1] (20007)No time was provided and one was required.: log_rerror test ok [Sun Jan 26 00:14:55 2003] [error] $r->log_error test ok [Sun Jan 26 00:14:55 2003] [error] $s->log_error test ok [Sun Jan 26 00:14:55 2003] [debug] /tmp/dloads/mod_perl-1.99_08/t/response/TestAPI/aplog.pm(63): TestAPI::aplog test done [Sun Jan 26 00:14:55 2003] [warn] ApacheApache->warn test ok [Sun Jan 26 00:14:55 2003] [warn] $s->warn test ok [Sun Jan 26 00:15:48 2003] [error] [client 127.0.0.1] mkdir /tmp/dloads/mod_perl-1.99_08/t/htdocs/perlio: Permission denied at /tmp/dloads/mod_perl-1.99_08/Apache-Test/lib/Apache/TestUtil.pm line 128 [Sun Jan 26 00:16:10 2003] [error] Apache::log_error test ok [Sun Jan 26 00:17:49 2003] [error] [client 127.0.0.1] File does not exist: /tmp/dloads/mod_perl-1.99_08/t/htdocs/nope [Sun Jan 26 00:18:34 2003] [error] [client 127.0.0.1] need AuthName: /TestModperl::setauth [Sun Jan 26 00:18:40 2003] [error] failed to resolve handler `TestModules::cgi' [Sun Jan 26 00:18:40 2003] [error] [client 127.0.0.1] Can't locate CGI.pm in @INC (@INC contains: /tmp/dloads/mod_perl-1.99_08/blib/lib/Apache2 /tmp/dloads/mod_perl-1.99_08/Apache-Test/lib /tmp/dloads/mod_perl-1.99_08/lib /tmp/dloads/mod_perl-1.99_08/blib/lib /tmp/dloads/mod_perl-1.99_08/blib/arch /tmp/dloads/mod_perl-1.99_08/t/response /tmp/dloads/mod_perl-1.99_08/t/protocol /tmp/dloads/mod_perl-1.99_08/t/hooks /tmp/dloads/mod_perl-1.99_08/t/filter /tmp/dloads/mod_perl-1.99_08/t /tmp/dloads/mod_perl-1.99_08/t/htdocs/testdirective/perlmodule-vh /tmp/dloads/mod_perl-1.99_08/t/htdocs/testdirective/main /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /tmp/dloads/mod_perl-1.99_08/t/response/TestModules/cgi.pm line 7. BEGIN failed--compilation aborted at /tmp/dloads/mod_perl-1.99_08/t/response/TestModules/cgi.pm line 7. Compilation failed in require at (eval 111) line 3. [Sun Jan 26 00:18:40 2003] [error] failed to resolve handler `TestModules::cgi' [Sun Jan 26 00:18:40 2003] [error] failed to resolve handler `TestModules::cgi' [Sun Jan 26 00:18:40 2003] [error] failed to resolve handler `TestModules::cgi' [Sun Jan 26 00:18:40 2003] [error] failed to resolve handler `TestModules::cgi' [Sun Jan 26 00:18:43 2003] [error] failed to resolve handler `TestModules::cgiupload' [Sun Jan 26 00:18:43 2003] [error] [client 127.0.0.1] Can't locate CGI.pm in @INC (@INC contains: /tmp/dloads/mod_perl-1.99_08/blib/lib/Apache2 /tmp/dloads/mod_perl-1.99_08/Apache-Test/lib /tmp/dloads/mod_perl-1.99_08/lib /tmp/dloads/mod_perl-1.99_08/blib/lib /tmp/dloads/mod_perl-1.99_08/blib/arch /tmp/dloads/mod_perl-1.99_08/t/response /tmp/dloads/mod_perl-1.99_08/t/protocol /tmp/dloads/mod_perl-1.99_08/t/hooks /tmp/dloads/mod_perl-1.99_08/t/filter /tmp/dloads/mod_perl-1.99_08/t /tmp/dloads/mod_perl-1.99_08/t/htdocs/testdirective/perlmodule-vh /tmp/dloads/mod_perl-1.99_08/t/htdocs/testdirective/main /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /tmp/dloads/mod_perl-1.99_08/t/response/TestModules/cgiupload.pm line 7. BEGIN failed--compilation aborted at /tmp/dloads/mod_perl-1.99_08/t/response/TestModules/cgiupload.pm line 7. Compilation failed in require at (eval 113) line 3. [Sun Jan 26 00:18:47 2003] [error] 7714: ModPerl::Registry: Can't locate CGI.pm in @INC (@INC contains: /tmp/dloads/mod_perl-1.99_08/blib/lib/Apache2 /tmp/dloads/mod_perl-1.99_08/Apache-Test/lib /tmp/dloads/mod_perl-1.99_08/lib /tmp/dloads/mod_perl-1.99_08/blib/lib /tmp/dloads/mod_perl-1.99_08/blib/arch /tmp/dloads/mod_perl-1.99_08/t/response /tmp/dloads/mod_perl-1.99_08/t/protocol /tmp/dloads/mod_perl-1.99_08/t/hooks /tmp/dloads/mod_perl-1.99_08/t/filter /tmp/dloads/mod_perl-1.99_08/t /tmp/dloads/mod_perl-1.99_08/t/htdocs/testdirective/perlmodule-vh /tmp/dloads/mod_perl-1.99_08/t/htdocs/testdirective/main /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /tmp/dloads/mod_perl-1.99_08/t/htdocs/includes-registry/cgipm.pl line 2. BEGIN failed--compilation aborted at /tmp/dloads/mod_perl-1.99_08/t/htdocs/includes-registry/cgipm.pl line 2. [Sun Jan 26 00:18:47 2003] [error] [client 127.0.0.1] unable to include "/includes-registry/cgipm.pl" in parsed file /tmp/dloads/mod_perl-1.99_08/t/htdocs/includes/test.shtml [Sun Jan 26 00:18:57 2003] [info] removed PID file /tmp/dloads/mod_perl-1.99_08/t/logs/httpd.pid (pid=7713) [Sun Jan 26 00:18:57 2003] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=7713 END in modperl_extra.pl, pid=7713 ----- Original message ----- From: "Stas Bekman" <[EMAIL PROTECTED]> To: "benjamin mccall" <[EMAIL PROTECTED]> Date: Mon, 27 Jan 2003 15:59:20 +1100 Subject: Re: glitched install of mod_perl (1.99.08) benjamin mccall wrote: > well, i edited the /etc/hosts file and it seemed to've done the trick. Earlier you said that the patch to Apache/TestConfig.pm has done the trick. > but now it seems i'm taking heaps of test failures from 'make test' run. > if apache is inactive, would that cause these failures? for instance, > most of my failures resulted from the 'apr/perlio.t', > 'modules/cgiupload.t', and 'modules/cgi.t'. My guess is that you aren't running the loopback interface. What do you get when you run: su -c /sbin/ifconfig there should be an entry for 'lo' (guessing that you are on unix, from your mentioning of /usr/local/ in your original post). e.g. on my machine in addition to 'eth0' entry I have: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:37981 errors:0 dropped:0 overruns:0 frame:0 TX packets:37981 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5738173 (5.4 Mb) TX bytes:5738173 (5.4 Mb) If you don't have it and you don't know how to fix that, you have to read the manual for your operating system, or some howtos, e.g.: http://www.linux.org/docs/ldp/howto/Net-HOWTO/x540.html If you are still in trouble, you should refer to the appropriate list for your OS to solve it, since this is not a mod_perl problem. __________________________________________________________________ Stas Bekman JAm_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 -- http://fastmail.fm - IMAP accessible web-mail