[pubcookie-users] build question: rh9 apache version

Jim Fox fox at washington.edu
Fri Jul 30 10:29:33 PDT 2004


For apache2 AP_SERVER_MAJORVERSION is defined in ap_release.h,
which is included by httpd.h

What happens if you try to compile the code snippet?  Using
as include path whatever apxs shows for "axps -q INCLUDEDIR"

Jim



On Fri, 30 Jul 2004, John-Paul Robinson wrote:

> Date: Fri, 30 Jul 2004 12:18:50 -0500 (CDT)
> From: John-Paul Robinson <jpr at uab.edu>
> To: pubcookie-users at u.washington.edu
> Subject: [pubcookie-users] build question: rh9 apache version
> 
> I'm tying to build pubcookie 3.1.1 on a fairly vanilla redhat 9 install
> and am having trouble with configure determining the Apache version.
>
> It seems that configure compiles a little code snippet that tests the
> value of AP_SERVER_MAJORVERSION (for apache 2, the default on rh9). It
> looks like the code snippet only includes httpd.h and stdlib.h.  Comparing
> to the 1.x test it looks like this define should be set in the httpd.h
> file.  I don't see this value. All I can find is HTTP_VERSION_MAJOR.
>
> The configure script seems to find apxs on its own just fine and my
> httpd-devel rpm is install on the machine.
>
> I'm not quite sure if rh9 has some non-standard apache version headers or
> if I'm not including the correct switches to configure.  Right now I'm
> just using "./configure".
>
> Thanks,
>
> ~jpr
>
> _______________________________________________
> pubcookie-users mailing list
> pubcookie-users at u.washington.edu
> http://mailman.u.washington.edu/mailman/listinfo/pubcookie-users
>


More information about the pubcookie-users mailing list