Re: Compiling with Apache 2.4

Ruben Safir <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 09/28/2017 11:21 AM, Matthias Schmitt wrote:
> perl Makefile.PL MP_APR_CONFIG=/MyHttpdPrefixPath/bin/apr-1-config MP_APXS=/MyHttpdPrefixPath/bin/apxs

cc -shared -O2 -L/usr/local/lib -fstack-protector-strong \
 \
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-strong
-L/usr/local/lib
-L/usr/local/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE -lperl
-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc \
-o mod_perl.so
/usr/bin/ld:
/usr/local/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE/libperl.a(op.o):
relocation R_X86_64_PC32 against symbol `PL_opargs' can not be used when
making a shared object; recompile with -fPIC


This doesn't work.  I just throw up my hands at this point.  ModPerl is
obviously so broken now that it can no longer be used.

-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.