i'm not sure that this is an actual problem with Apache::Module itself, but
it seems to stem from mod_perl distribution's mod_perl.h here:

#ifdef PERL_THREADS
#define _INCLUDE_APACHE_FIRST
#endif

#ifdef _INCLUDE_APACHE_FIRST
#include "apache_inc.h"
#endif

the perl i built against was the stock debian/i386/unstable 5.8.0 which has 
ithreads built in, although i had similar results with a source-built copy
on solaris9/sparc. the mod_perl version is 1.27. i found that if i explicitly
prepended the include for apache_inc.h in the xs, the module appeared to build 
successfully.

strangely enough, the -DPERL_THREADS was being passed into the build, which
to my knowledge should have activated the include but i suppose i must be
missing something. i notice that the module hasn't been updated since 1999,
is there a replacement for its functionality that i don't know about?

cheers,

.dorian

Reply via email to