perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <>
Subject Re: Fwd: svn commit: r987890 - in /perl/Apache-Test/trunk: Changes lib/Apache/
Date Sun, 22 Aug 2010 20:16:34 GMT
On Sunday, August 22, 2010 21:46:58 Fred Moyer wrote:
> 2010/8/22 Torsten Förtsch <>:
> > On Sunday, August 22, 2010 20:02:05 Fred Moyer wrote:
> >> I put out a release candidate for Apache-Test 1.33 yesterday.  Did you
> >> see the email come through?  An archive copy of it is located here:
> >> 
> >>
> ...
> > However, I think that change should go to the release. It fixes a bug
> > that can cause errors that are difficult to trace.
> Having encountered these errors before, I know they exist.  However,
> can you update the docs to provide some example usage?  When I set
> this variable, this happens on make test:
> You specified APACHE_TEST_NO_STICKY_PREFERENCES=1 in which case you
> must explicitly specify -httpd and/or -apxs options
> And then make test -httpd=.... isn't something that will work.
> Neither will it as a makefile arg.  Can you add example usage for
> those like me who know the hooks exist, but can't ever remember the
> syntax?
> phred@pooky ~/dev/svn/modperl/Apache-Test $ perl Makefile.PL
> -httpd=/Users/phred/dev/sl/httpd/sbin/httpd
> generating script t/TEST
> generating script ./t/cgi-bin/
> generating script ./t/cgi-bin/
> '-HTTPD' is not a known MakeMaker parameter name.

I believe this one you know:

Here is what I do in my SPEC files:

%perl Makefile.PL
make %{?jobs:-j%jobs} &&
t/TEST -apxs %{apxs} -httpd_conf %{sysconfdir}/original/httpd-modperl.conf

I also think it would make more sense to pass these things as Makefile.PL 
parameters. Though, you can set them as environment variables.

I have set in my environment APACHE_TEST_NO_STICKY_PREFERENCES=1 and 
APACHE_TEST_APXS=/path/to/apxs. That is enough to make "make test" work.

Torsten Förtsch

Need professional modperl support? Hire me! (

Like fantasy?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message