James Breat wrote:
I am having problems a static mod_perl with Apache 2.2.6 and
Perl 5.10.0.

I followed the instructions for a static build, but when I type make I get the following errors (only a few
same error lines are included):

httpd-2.2.6/srclib/apr/include/apr.h:273: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t' httpd-2.2.6/srclib/apr-util/include/apr_buckets.h:242: error: expected specifier-qualifier-list before 'apr_off_t' httpd-2.2.6/srclib/apr/include/apr_strings.h:315: error: expected ')' before '*' token

Sounds like your compiler realy doesn't like something in APR.

Have you tried just trying to build apr by itself.

$> cd httpd-2.2.6/srclib/apr
$> ./configure
$> make

If that still spits out the above errors, it's not a mod_perl problem,
but something about your system and APR doesn't agree.

Could you post the few lines around the offending section of apr.h (around line 
273)?

mod_perl.c:1058: error: 'request_rec' has no member named 'handler'
make[1]: *** [mod_perl.o] Error 1

Any idea on what's going on?

Again, sounds like there is something in your httpd tree that isn't getting
digested quite right by your compiler.

--
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to