Stas Bekman wrote:
Carl Brewer wrote:



I'm now running 2.0.0 on my NetBSD 2.0.2 server (i386) with
no problems so far and a pretty painless port from 1.99.16 :

Thanks Stas et al.

Except for this (something I missed?)


noisy: {45} t/REPORT > mybugreport
/usr/pkg/lib/perl5/site_perl/5.8.6/i386-netbsd-thread-multi/auto/APR/Request/Error/Error.so: Undefined PLT symbol "apreq_strerror" (symnum = 43)
noisy: {46} pwd
/data/src/mod_perl-2.0.0
noisy: {47} more mybugreport
noisy: {49} mp2bug > mybugreport
/usr/pkg/lib/perl5/site_perl/5.8.6/i386-netbsd-thread-multi/auto/APR/Request/Error/Error.so: Undefined PLT symbol "apreq_strerror" (symnum = 43)


I don't think it's a big deal, everything I'm running
seems fine.


Carl, this is not mod_perl, but APR::Request = libapreq. Please post libapreq/APR::Request errors to the libapreq-dev list: http://httpd.apache.org/apreq/

Actually, it is a problem of ModPerl::TestReport, my apologies for discarding it in first place. I've committed the following fix to svn. Please confirm that it works for you. Thanks.

Index: Changes
===================================================================
--- Changes     (revision 178490)
+++ Changes     (working copy)
@@ -12,6 +12,11 @@

 =item 2.0.1-dev

+fix ModPerl::TestReport used by t/REPORT and mp2bug to use
+ExtUtils::MakeMaker's MM->parse_version to get the interesting
+packages version number, w/o trying to load them (which may fail if
+the environment is not right) [Stas]
+
 fix a bug in ModPerl::RegistryCooker: now stripping __(END|DATA)__
 only at the beginning of the line [Stas]


Index: lib/ModPerl/TestReport.pm
===================================================================
--- lib/ModPerl/TestReport.pm   (revision 178501)
+++ lib/ModPerl/TestReport.pm   (working copy)
@@ -19,6 +19,8 @@

 use base qw(Apache::TestReportPerl);

+use ExtUtils::MakeMaker ();
+
 my @interesting_packages = qw(
     CGI
     ExtUtils::MakeMaker
@@ -52,11 +54,7 @@
         for my $dir (@inc) {
             my $path = "$dir/$filename";
             if (-e $path) {
-                no warnings 'redefine';
-                my $ver = eval { require $path;
-                                 delete $INC{$path};
-                                 $package->VERSION;
-                         };
+                my $ver = MM->parse_version($path);
                 # two versions could be installed (one under Apache2/)
                 push @{ $packages{$package} }, $ver if $ver;
             }


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to