According to Torsten F?rtsch <[email protected]> on Fri, 06/17/11 at
13:13:
>
> On Friday, June 17, 2011 18:34:07 William Bulley wrote:
> > Something in apache2 or
> > mod_perl2 or their APIs has changed, perhaps related to the newish
> > Perl 5.14 version.
>
> That may be the reason. 5.14 required some changes in the code. One half
> of them went into modperl 2.0.5. It made 5.14rc2 compiled without
> ithreads work with a preforked apache. The other half required for
> worker-MPM and interpreter-pools will come with modperl 2.0.6.
I did see one mention in the mod_perl change log:
Prepare modperl for the upcoming perl 5.14 [Torsten Foertsch
about Perl 5.14 so the change from 5.12 to 5.14 looks to be relevant.
> I don't know whether these changes are present in the freebsd ports.
I have Perl 5.14 compiled from source.
I have apache 2.2.19 compiled from source.
I have mod_perl2 2.0.5 compiled from source (with these patches):
% cat patch-Makefile.PL
--- m Wed May 18 11:55:48 2005
+++ Makefile.PL Wed May 18 11:56:07 2005
@@ -668,11 +668,11 @@
cd "$(MODPERL_SRC)" && $(MAKE)
modperl_lib_install:
- cd "$(MODPERL_SRC)" && $(MAKE) DESTDIR=$(DESTDIR) install
+# cd "$(MODPERL_SRC)" && $(MAKE) DESTDIR=$(DESTDIR) install
modperl_xs_h_install:
- @$(MKPATH) $(DESTDIR)$(MODPERL_AP_INCLUDEDIR)
- $(CP) $(MODPERL_XS_H_FILES) $(DESTDIR)$(MODPERL_AP_INCLUDEDIR)
+# @$(MKPATH) $(DESTDIR)$(MODPERL_AP_INCLUDEDIR)
+# $(CP) $(MODPERL_XS_H_FILES) $(DESTDIR)$(MODPERL_AP_INCLUDEDIR)
modperl_src_clean:
cd "$(MODPERL_SRC)" && $(MAKE) clean
but those changes look to be FreeBSD specific.
> Further, I have tested only on my Linux boxes. In production I still run
> perl 5.12.
It would be a fairly large amount of work for me to revert to Perl 5.12... :-(
> If I were you I'd compile apache and modperl from scratch. Take the SVN
> version of modperl. If the test suite reveals something it is a hint
> where to dig further. If not try to create a small test case with the
> error present and post it here.
Well, all my FreeBSD ports (including apache2 and mod_perls in this case)
are compiled from source. I could rebuild them and see if there are any
testing errors. I wouldn't know how to craft a small test case since my
aim here is just to get apache2 to launch - which unfortunately it won't... :-(
Regards,
web...
--
William Bulley Email: [email protected]
72 characters width template ----------------------------------------->|