perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin Henry" <>
Subject mod_perl-2.0.4 and 5.10.0 build failure
Date Wed, 04 Jun 2008 10:47:25 GMT
Hi All,

I've built and have been running 5.10.0 for a while now and I am trying to
build mod_perl-2.0.4 with it.

Apache is stock Centos 5 x86_64:

rpm -q httpd-devel

perl was built with:

        sh Configure -de
        make test
        make install


perl Makefile.PL MP_APXS=/usr/sbin/apxs

make dies at the end:

cc -I/usr/local/src/mod_perl-2.0.4/src/modules/perl
-I/usr/local/src/mod_perl-2.0.4/xs -I/usr/include/apr-1
-I/usr/include/apr-1  -I/usr/include/httpd -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE -DMOD_PERL -DMP_COMPAT_1X
        -c modperl_exports.c && mv modperl_exports.o modperl_exports.lo
rm -f
cc -shared -O2 -L/usr/local/lib \
        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  -L/usr/local/lib 
-L/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE -lperl -lnsl -ldl
-lm -lcrypt -lutil -lc \
/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE/libperl.a(gv.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE/libperl.a: could not read
symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [] Error 1
make[1]: Leaving directory `/usr/local/src/mod_perl-2.0.4/src/modules/perl'
make: *** [modperl_lib] Error 2

Is this a perl 5.10.0 build error?

I can see -fPIC in in the perl src tree.

Any help would be greatly appreciated.


View raw message