This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9643B08A4730815DFA2A8AEE
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable



James Breat wrote:
> I am having problems a static mod_perl with Apache 2.2.6 and
> Perl 5.10.0.
>=20
> 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):
>=20
> httpd-2.2.6/srclib/apr/include/apr.h:273: error: expected '=3D', ',', '=

;',=20
> '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 ')'=20
> 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 (aroun=
d line 273)?

> mod_perl.c:1058: error: 'request_rec' has no member named 'handler'
> make[1]: *** [mod_perl.o] Error 1
>=20
> Any idea on what's going on?


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

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


--------------enig9643B08A4730815DFA2A8AEE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHlZcayzKhB4jDpaURAqKPAKCIzFzPFcyUfhTQnVKpya ux2zyPOwCgo3Ko
BTC99YVUyDmZ19O7zIPLs5o=
=fPOr
-----END PGP SIGNATURE-----

--------------enig9643B08A4730815DFA2A8AEE--