Rick Frankel <[EMAIL PROTECTED]> writes:

> Joe- ApacheCookie_* was not being boostrapped into the executable, so it 
> was being optimized of the linkage.
> 
> The following patch, while probably not correct (and probably the cause 
> of the silent failure), covers it.

Great -  thanks a ton!

> --- http_main.c Fri Feb  1 19:22:51 2002
> +++ http_main.c~        Mon Jan 28 04:07:46 2002
> @@ -7805,12 +7805,5 @@
>   {
>       return ApacheRequest_new(r);
>   }
> -/*RAF*/
> -#include "apache_cookie.h"
> -ApacheCookie *suck_in_apcookie(request_rec *r);
> -ApacheCookie *suck_in_apcookie(request_rec *r)
> -{
> -    return ApacheCookie_new(r);
> -}
>   #endif /* USE_APREQ */

I've incorporated your patch and uploaded it to the website.
Hopefully other OS X'ers will be able to confirm it works now.

> Also, the "all-in-one" compile method doesn't setup apache correctly,
> so the steps taken were:
> 
> unpack everthing in the same root directory
> 
> mod_perl:
> 
> $ perl Makefile.PL APACHE_PREFIX=/usr/local/apache DO_HTTP=1 \
> PREP_HTTP=1 USE_APACI=1 EVERYTHING=1
> $ make
> $ make install
> 
> http_apreq:
> 
> $ perl Makefile.PL
> $ make
> $ make install
> 
> apache:
> 
> $ CFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ./configure 
> --prefix=local/apache  \
>   --enable-shared=max --disable-rule=EXPAT --with-layout=Apache \
> --activate-module=src/modules/perl/libperl.a --disable-shared=perl
> 
> $ make
> $ make install

You're my hero ;-)

-- 
Joe Schaefer

Reply via email to