alexism has asked for the wisdom of the Perl Monks concerning the following question:

hi, i'd like to install the libapreq (Generic Apache Request Library) but when i make it (make), it tells me there is syntax error on the apache_request.h file (line 38). i think this because of the bad configuration of mod_perl. in the readme of libapreq, it says :
IMPORTANT NOTE: To install the Perl modules, your mod_perl installatio +n MUST includes support for Apache::Table. This means that mod_perl sho +uld be built using the EVERYTHING=1, or at minimum PERL_TABLE_API=1. If y +ou see errors like this (during compilation of libapreq) Error: 'Apache::Table' not in typemap in Request.xs, your mod_perl must be rebuilt to include Apache::Table support.
does anyone know if i had to re-install the mod_perl package? i installed mod_perl1.3 on Apache2 using mandrake 10. thanks

Replies are listed 'Best First'.
Re: install the Apache Request Library
by edoc (Chaplain) on Jun 21, 2004 at 14:45 UTC

    There are two versions of mod_perl.. v1.* for Apache 1.3 and v1.9* (will be v2) for Apache2. Sounds like you've tried to install the wrong version of mod_perl for the Apache you are using.

    cheers,

    J