Nick *** wrote: [...]
But there is another bug as I said. Just run perl Makefile.PL MP_STATIC_EXTS=1 MP_COMPAT_1X=0 MP_USE_STATIC=1 MP_AP_CONFIGURE="--with-mpm=prefork" MP_AP_PREFIX=/usr/src/httpd and then run make. You will see what happens :)
Indeed, I can reproduce it. Here is a quick bandaid (for the above case). I'll work on the proper solution and post it here when I have it.
Index: lib/ModPerl/WrapXS.pm =================================================================== --- lib/ModPerl/WrapXS.pm (revision 158003) +++ lib/ModPerl/WrapXS.pm (working copy) @@ -429,9 +429,10 @@ use ModPerl::BuildMM ();
ModPerl::BuildMM::WriteMakefile(
- 'NAME' => '$class',
- 'VERSION' => '$version',
- 'depend' => $deps,
+ NAME => '$class',
+ VERSION => '$version',
+ linkext => {'LINKTYPE' => ''},
+ depend => $deps,
);
EOF-------
% perl-5.8.6-ithread Makefile.PL MP_STATIC_EXTS=1 MP_COMPAT_1X=0 MP_USE_STATIC=1 MP_AP_CONFIGURE="--with-mpm=prefork" MP_AP_PREFIX=/home/stas/apache.org/httpd-2.0 MP_INST_APACHE2=1 && make && make test
All tests successful, 8 tests skipped.
Files=228, Tests=2250, 191 wallclock secs (151.60 cusr + 22.43 csys = 174.03 CPU)
All tests successful, 1 test skipped. Files=15, Tests=75, 15 wallclock secs (10.23 cusr + 1.55 csys = 11.78 CPU)
-- __________________________________________________________________ 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
