Hi Fred Sorry, my mistake, for I thought it was thinking 2.4.4!
Regards, Jie Gao | Systems Administrator Information and Communications Technology THE UNIVERSITY OF SYDNEY 316 Abercrombie Street Building G17 | The University of Sydney | NSW | 2006 T +61 2 8627 7824 | E j....@sydney.edu.au | W http://sydney.edu.au/ict/ CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. Please think of our environment and only print this e-mail if necessary. * Fred Moyer <f...@redhotpenguin.com> wrote: > Date: Wed, 3 Apr 2013 20:53:06 -0700 > From: Fred Moyer <f...@redhotpenguin.com> > To: Jie Gao <j....@sydney.edu.au> > CC: Fairlight <fairl...@iglou.com>, dev@perl.apache.org > Subject: Re: mod_perl2 on CentOS 6 compile issue > > On Wed, Apr 3, 2013 at 8:42 PM, Jie Gao <j....@sydney.edu.au> wrote: > > There is currently no mod_perl release that's compatible with Apache > > 2.2.24 yet. > > I built 5.14.12/2.2.24/2.08-dev yesterday on a Centos 6.2 box. > > Thinking Perl needs to be recompiled with -fPIC. Your httpd loads a > certain mod_perl via PerlRequire in httpd.conf, which grabs the > appropriate mod_perl.so, which is linked to the version of Perl it was > compiled with. If you get undefined symbol errors, you probably need > to recompile your httpd, but I've seen this before and a Perl > recompilation resolved the issue. > > Suggest trying with the 2.0.8 release candidate and reporting back on > that email thread. > > http://people.apache.org/~phred/mod_perl-2.0.8-rc1.tar.gz > > > > > However, the errors you are getting are not the typical ones that one > > gets compiling with Apache 2.2.24. > > > > If you compile with an version of Apache lower than 2.2.24 and still have > > problems, you should follow the procedures as below: > > > > http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems > > > > > > Regards, > > > > Jie > > > > * Fairlight <fairl...@iglou.com> wrote: > > > >> Date: Wed, 3 Apr 2013 13:03:37 -0400 > >> From: Fairlight <fairl...@iglou.com> > >> To: dev@perl.apache.org > >> Subject: mod_perl2 on CentOS 6 compile issue > >> User-Agent: Mutt/1.5.21 (2010-09-15) > >> > >> I'm trying to compile mod_perl2 (v2.0.7 and have also tried the SVN tree) > >> on CentOS 6 64-bit against Perl 5.16.3 and Apache 2.2.24 (latest stable APR > >> and APR-util packages, as well). I keep hitting this error: > >> > >> cc -shared -O2 -L/usr/local/lib -fstack-protector \ > >> \ > >> mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo > >> modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo > >> modperl_handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo > >> modperl_io_apache.lo modperl_filter.lo modperl_bucket.lo modperl_mgv.lo > >> modperl_pcw.lo modperl_global.lo modperl_env.lo modperl_cgi.lo > >> modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo modperl_sys.lo > >> modperl_module.lo modperl_svptr_table.lo modperl_const.lo > >> modperl_constants.lo modperl_apache_compat.lo modperl_error.lo > >> modperl_debug.lo modperl_common_util.lo modperl_common_log.lo > >> modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo > >> modperl_exports.lo -Wl,-E -fstack-protector -L/usr/local/lib > >> -L/usr/local/lib/perl5/5.16.3/x86_64-linux/CORE -lperl -lnsl -ldl -lm > >> -lcrypt -lutil -lc \ > >> -o mod_perl.so > >> /usr/bin/ld: /usr/local/lib/perl5/5.16.3/x86_64-linux/CORE/libperl.a(op.o): > >> relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a > >> shared object; recompile with -fPIC > >> /usr/local/lib/perl5/5.16.3/x86_64-linux/CORE/libperl.a: could not read > >> symbols: Bad value > >> collect2: ld returned 1 exit status > >> make[1]: *** [mod_perl.so] Error 1 > >> make[1]: Leaving directory `/root/mod_perl-2.0.7/src/modules/perl' > >> make: *** [modperl_lib] Error 2 > >> > >> I've revised the Makefile in the appropriate directory to do the final link > >> with -fPIC, and it -still- comes up with the same error. > >> > >> I'm migrating from a CentOS 5 box, and have never had troubles compiling > >> mod_perl before. > >> > >> The libperl.a -will- respond to an `nm -s`, so I'm not sure exactly what > >> the problem is. > >> > >> Both the official stable version and the SVN tree react identically. > >> > >> Could I please get some assistance in getting this compile working. It's > >> just about the last step in my [forced, time-constrained] VPS migration. > >> > >> Thanks! > >> > >> mark-> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org > >> For additional commands, e-mail: dev-h...@perl.apache.org > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org > > For additional commands, e-mail: dev-h...@perl.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org