httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <...@sunstarsys.com>
Subject Re: 1.x tests working in cvs
Date Sun, 24 Nov 2002 15:22:38 GMT
Stas Bekman <stas@stason.org> writes:

[...]

> Apparently, Apache::test setup doesn't look in the local dir first when 
> loading Apache::Request. I've had an older A::Request installed and I 
> was getting:
> 
> t/httpd -f `pwd`/t/httpd.conf
> Syntax error on line 31 of /home/stas/apache.org/httpd-apreq/t/httpd.conf:
> Apache::Request object version 1.0 does not match bootstrap parameter 
> 1.1 at 
> /home/stas/perl/ithread/lib/5.8.0/i686-linux-thread-multi/DynaLoader.pm 
> line 249.
> Compilation failed in require at (eval 16) line 3.
> 
> If I'm running 'make install' and then test, it's ok:
> t/cookie.....ok
> t/request....ok
> All tests successful.
> Files=2, Tests=50,  5 wallclock secs ( 1.29 cusr +  0.08 csys =  1.37 CPU)
> kill `cat t/httpd.pid`

Thanks Stas.  The latest cvs commit to Makefile.PL should fix this:

diff -u -r1.12 Makefile.PL
--- Makefile.PL 17 Nov 2002 23:18:04 -0000      1.12
+++ Makefile.PL 24 Nov 2002 15:08:07 -0000
@@ -97,7 +97,7 @@
 }
 __DATA__
 <Perl>
-    push @INC, "blib/arch";
+   unshift @INC, "blib/arch";
 </Perl>
 PerlModule Apache::PerlRun
 PerlModule Apache::Request

-- 
Joe Schaefer

Mime
View raw message