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: [apreq-2] does not use apr-config --includes
Date Sat, 16 Aug 2003 20:37:58 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> [...]
> 
> 
>>There is only one nuance: APU_BINDIR and APR_BINDIR were added only in
>>recent versions of apache. 2.0.47?
> 
> 
> % cvs annotate support/apxs.in | grep AP._BINDIR
> 
> Annotations for support/apxs.in
> ***************
> 1.54         (trawick  04-Apr-03): my $apr_bindir = get_vars("APR_BINDIR");
> 1.55         (jerenkra 21-May-03): my $apu_bindir = get_vars("APU_BINDIR");
> 
> 
>>I guess it all depends on what are going to be the requirements for
>>apreq-2. 
> 
> 
> INSTALL lists the current apache prereq at 2.0.46, and httpd-2.0/CHANGES
> has this:
> 
> Changes with Apache 2.0.46
> 
> [...]
> 
>   *) Perform run-time query in apxs for apr and apr-util's includes.
>      [Justin Erenkrantz]
> 
> I assume that's the change that brought in AP*_BINDIR:
> 
> % cvs annotate CHANGES | grep apxs | head
> 
> Annotations for CHANGES
> ***************
> 1.1006       (stoddard 09-Dec-02):      apxs -i -a will add an un-commented AddModule
directive for 
> 1.1187       (jerenkra 21-May-03):   *) Perform run-time query in apxs for apr and apr-util's
includes.
> 1.1178       (wrowe    17-May-03):      configuration for apxs), and eliminated redundant
-I'nclude paths.
> 1.1084       (nd       22-Feb-03):   *) Fix apxs to insert LoadModule directives only
outside of sections.
> 1.1036       (trawick  24-Jan-03):   *) apxs: Include any special APR ld flags when linking
the DSO.
> 1.1036       (trawick  24-Jan-03):      This resolves problems on AIX when building a
DSO with apxs+gcc.
> 1.934        (striker  19-Sep-02):   *) Add -p option to apxs to allow programs to be
compiled with apxs.
> 1.825        (trawick  13-Jun-02):   *) Fix apxs so that the makefile created by "apxs
-g" works on AIX and
> 1.813        (trawick  06-Jun-02):   *) Fix apxs to allow "apxs -q installbuilddir" and
to allow
> 1.810        (jwoolley 05-Jun-02):   *) Get rid of uninitialized value errors with "apxs
-q" on certain
> 
> We're sort of at the mercy of the httpd/apr split here, which 
> wasn't really complete until then.

2.0.46 is confirmed to have these:

/home/stas/httpd/prefork-2.0.46/build> grep BINDIR *
config_vars.mk:APR_BINDIR = /home/stas/httpd/prefork-2.0.46/bin
config_vars.mk:APU_BINDIR = /home/stas/httpd/prefork-2.0.46/bin

So I guess we are all set.

However we need to make the requirement coded in ./configure (and 
Makefile.PL?), it'd be a waste for people to report failures, if the sw can 
tell them that 2.0.46 is required when they use an older httpd. Since 
everything goes through ./configure, it's probably the best place to set the 
minimal requirement.

Also doesn't apreq now depend on the recent changes in apr-tables? or can it 
work with older apr as well? I haven't tested that.

__________________________________________________________________
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