httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: libapreq-1.2 release candidate
Date Fri, 02 May 2003 01:28:33 GMT
David Wheeler wrote:
> On Wednesday, April 30, 2003, at 07:55  PM, Joe Schaefer wrote:
> 
>> I think you can give Apache::Test a hint with an -apxs or -httpd
>> argument:
>>
>>   % perl Makefile.PL -apxs /path/to/correct/apxs
>>   % make && make test
>>
>> Does this help at all?
> 
> 
> Yep, that does the trick:
> 
> waiting for server to start: ok (waited 2 secs)
> server localhost:8529 started
> apreq/big_input....ok
> apreq/cookie.......ok
> apreq/inherit......ok
> apreq/request......ok
> All tests successful.
> Files=4, Tests=25, 12 wallclock secs ( 5.21 cusr +  1.21 csys =  6.42 CPU)
> 
> Ah, and I see that it's in INSTALL. Duh. Here's another patch for 
> INSTALL.MacOSX that makes note of it:

Also the recent Apache::Test already suggests to use the -httpd (similar to 
-apxs) flag, when it can't configure the server by guessing.

> --- INSTALL.MacOSX.~1.5.~    Wed Apr 30 20:02:03 2003
> +++ INSTALL.MacOSX    Wed Apr 30 20:03:42 2003
> @@ -25,8 +25,11 @@
> 
>  Next, the normal Perl build of libapreq should work. Note that you'll need
>  Apache::TestMM, libwwwperl, and URI installed in order to run "make test".
> +It's also a good idea to use the "-apxs" argument to Makefile.PL so that
> +"make test" knows where to find and start your Apache server. This is
> +especially true if you've compiled and isntalled your own Apache.
> 
> -% perl Makefile.PL
> +% perl Makefile.PL -apxs /usr/sbin/apxs
>  % make
>  % make test
>  % sudo make install


Thanks David, committed.


-- 


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message