Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Apache2::compat from mod_perl 2.0.3 -- multiple issues
 

Index | Next | Previous | View Flat


jhoblitt at ifa

Mar 23, 2007, 8:22 PM


Views: 3375
Permalink
Apache2::compat from mod_perl 2.0.3 -- multiple issues

It seems that compat.pm isn't 'use strict' clean even thou it is declaring this
pragma.

# 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/compat.pm 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 compat.pm.

Commenting out the 'use strict' at the top of compat.om 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/compat.pm line 76, <DATA> line 9.

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

nm ./Apache2/ServerUtil/ServerUtil.so | 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?

-J

--

Subject User Time
Apache2::compat from mod_perl 2.0.3 -- multiple issues jhoblitt at ifa Mar 23, 2007, 8:22 PM
    Re: Apache2::compat from mod_perl 2.0.3 -- multiple issues geoff at modperlcookbook Mar 26, 2007, 6:02 AM
        Re: Apache2::compat from mod_perl 2.0.3 -- multiple issues jhoblitt at ifa Mar 27, 2007, 6:56 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.