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: cvs commit: httpd-apreq README
Date Wed, 18 Jun 2003 00:39:08 GMT
joes@apache.org wrote:
> joes        2003/06/17 02:33:21
> 
>   Modified:    .        README
>   Log:
>   Add a note about potential Apache::test conflicts with the new test suite.
>   
>   Revision  Changes    Path
>   1.9       +24 -0     httpd-apreq/README
>   
>   Index: README
>   ===================================================================
>   RCS file: /home/cvs/httpd-apreq/README,v
>   retrieving revision 1.8
>   retrieving revision 1.9
>   diff -u -r1.8 -r1.9
>   --- README	13 Jun 2003 05:45:23 -0000	1.8
>   +++ README	17 Jun 2003 09:33:21 -0000	1.9
>   @@ -34,6 +34,30 @@
>    Type "make test" to run the tests, and be sure Apache::Test
>    is installed prior to running "perl Makefile.PL".
>    
>   +IMPORTANT NOTE:  The test suite in libapreq-1.1 was based
>   +on Apache::test, which is now in the process of being phased
>   +out of mod_perl-1.X.  During the transition period, some 
>   +platforms may have difficulty running our new test suite.  
>   +Users that have successfully installed libapreq in the past 
>   +may wish to ignore the test results and install anyway, but this
>   +is not recommended.  Please upgrade to the newest version of 
>   +mod_perl-1.X and pull the latest version of Apache::Test 
>   +off of CPAN.

No point in this thing really. apreq has to require Apache::Test 1.03, which 
I'll release as soon as David confirms that my latest patch cleanly nukes 
Apache/test.pm's. As mentioned in the other thread Module::Install should be 
used to satisfy the requirement before Apache::Test is used.

>   +Also, if you have more than one apache+modperl installation on your 
>   +system, Apache::Test might need help in determining which build
>   +to use for the tests.  One way to do this is to pass an -apxs 
>   +or -httpd argument to MakeMaker:
>   +
>   +        % perl Makefile.PL -apxs /path/to/apache/bin/apxs
>   +   or
>   +        % perl Makefile.PL -httpd /path/to/apache/bin/httpd
>   +
>   +        % make && make test

There is a better way, which works with CPAN.pm.

set APXS and/or APACHE environment variables, which correspond to -apxs/-httpd

There are 3 more env vars to know about: APACHE_GROUP APACHE_USER APACHE_PORT

>   +Please read the INSTALL file and Apache::Test documentation 
>   +for more details.
>   +
>    Portions of the C code are based on examples from:
>         Writing Apache Modules with Perl and C,
>         Lincoln Stein & Doug MacEachern,
>   
>   
>   


-- 


__________________________________________________________________
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