perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Hoblitt <>
Subject Apache2::compat from mod_perl 2.0.3 -- multiple issues
Date Sat, 24 Mar 2007 03:24:36 GMT
It seems that isn't 'use strict' clean even thou it is declaring this

    #     Error:  Bareword "Apache2::ServerUtil::server_root" not allowed while "strict subs"
in use at /usr/lib/perl5/site_perl/5.8.8/i686-linux/Apache2/ line 347, <DATA>
line 9.

This error is caused by 'Apache2::ServerUtil::server_root' (note that
missing '()') and this repeated in several places through-out

Commenting out the 'use strict' at the top of reveals another more
serious error:

    #     Error:  Undefined subroutine &Apache2::ServerUtil::restart_count called at /usr/lib/perl5/site_perl/5.8.8/i686-linux/Apache2/
line 76, <DATA> line 9.

Which I assume is supposed to be provided by except that this
symbol isn't defined in this lib.

    nm ./Apache2/ServerUtil/ | grep restart
    00001cf0 T XS_Apache2__ServerUtil_restart_count
             U modperl_restart_count

Any ideas as to what might have gone wrong in the build?



View raw message