[mod-lisp-devel] Re: mod_lisp installation problems

Marc Battyani marc.battyani at fractalconcept.com
Fri May 19 06:34:30 UTC 2006


"John Peirce" <j.peirce at gmail.com> wrote:

> Found out the problems, I'm using APR version 1.2.7, which came with the
> newest version of apache(2.2.2) but it seems like only 1.2.2 was
> "officially supported" by mod_lisp, but with a few minor edits in some
> code, I got it worked out.
> 
> Line 152-3 of mod_lisp2.c:
> #if (APR_MAJOR_VERSION==1 && APR_MINOR_VERSION==2 &&
> APR_PATCH_VERSION==2)
> #define HAVE_APR_1_2_2    1
> 
> 
> If we change that to:
> #if (APR_MAJOR_VERSION==1 && APR_MINOR_VERSION==2 &&
> APR_PATCH_VERSION>=2)
> #define HAVE_APR_1_2_2    1
> 
> 
> the tests on lines 377,383,etc. in mod_lisp2.c of:
> #if (HAVE_APR_1_2_2)
> 
> pass the test, and since the apr_socket_create function hasn't changed,
> it calls the right code. 
> 
> I've got mod_lisp installed now, thanks!

Great. Thanks for the patch :). 
Those APR changes are rather annoying.

Marc





More information about the mod-lisp-devel mailing list