Re: Compiling with Apache 2.4

2017-10-01 Thread John D Groenveld
In message <20171001044753.ga20...@www.mrbrklyn.com>, Ruben Safir writes: >Yes! I rebuilt it for threads and shared. Different docs say different >things. I tried to rebuild it with the ithread option and that option >is now Dusethread no longer Duseithread. I think there was also a Try 64-bit

Re: Compiling with Apache 2.4

2017-09-30 Thread Ruben Safir
On Sat, Sep 30, 2017 at 08:27:22PM -0400, John D Groenveld wrote: > In message <0aaf73f0-af48-53ac-c8d7-871ae0339...@mrbrklyn.com>, Ruben Safir > wri > tes: > >/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

Re: Compiling with Apache 2.4

2017-09-30 Thread John D Groenveld
In message <0aaf73f0-af48-53ac-c8d7-871ae0339...@mrbrklyn.com>, Ruben Safir wri tes: >/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 $ perl -V Looks

Re: Compiling with Apache 2.4

2017-09-30 Thread Ruben Safir
On 09/30/2017 01:47 PM, David Hodgkinson wrote: >> >> 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. > > > Having spent a few months coaxing some 2005-era apache and mod_perl into > modern life, I kicked out all t

Re: Compiling with Apache 2.4

2017-09-30 Thread David Hodgkinson
> > 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. Having spent a few months coaxing some 2005-era apache and mod_perl into modern life, I kicked out all the self-build apache, mod_perl, perl from Bamboo and went

Re: Compiling with Apache 2.4

2017-09-30 Thread Ruben Safir
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

Re: Compiling with Apache 2.4

2017-09-30 Thread tomcat
On 30.09.2017 16:39, Ruben Safir wrote: On 09/28/2017 11:21 AM, Matthias Schmitt wrote: cd /MySourcePath/pcre-8.41 ./configure --prefix=/MyHttpdPrefixPath make make test make install what is pcre? I don't what the context of the questions is, but "pcre" stands for "Perl Compatible Regular E

Re: Compiling with Apache 2.4

2017-09-30 Thread Ruben Safir
On 09/28/2017 11:21 AM, Matthias Schmitt wrote: > cd /MySourcePath/pcre-8.41 > ./configure --prefix=/MyHttpdPrefixPath > make > make test > make install what is pcre? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mi

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
FWIW This error seems to be from apr conflicts. I had differing APRs and I made the APR and APR-UTIL but hand but it seems the systems already had installed apr for another package. I have to remove all the hand compliled versions, not that easy, but I was luckky to have everything in known loca

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
no, apache simply doesn't complile any long. This is what we get for depending on package from distors. We have no broken tarballs and source code that doesn't work or fundementally broken. exports.c:1461:13: note: previous definition of ‘ap_hack_apr_xml_empty_elem’ was here const void *ap_ha

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
So I moved the apr and apr-util source under the httpd directory but I removed the version numbers and it passed the apr problem: Note this solution for Apache 2.4 and Modperl 10 cp -r ../apr-1.6.2 ~/src/httpd-2.4.27/srclib/apr cp -r ../apr-util-1.6.0 ~/src/httpd-2.4.27/srclib/apr-util Now I see

Re: Compiling with Apache 2.4

2017-09-28 Thread John D Groenveld
In message <64d9bcac-1bea-acbb-d21d-02b13fee5...@mrbrklyn.com>, Ruben Safir wri tes: >I really wanted to make this static and compile from mod_perl and it >just looks like it is not possible any longer unless I can get apr UNDER >the apache tree somehow. Unknown whether statically link is supporte

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
On 09/28/2017 11:21 AM, Matthias Schmitt wrote: > cd /MySourcePath/httpd-2.4.27 > ./configure --prefix=/MyHttpdPrefixPath --with-mpm=prefork > --enable-mods-shared=all --enable-dav --enable-rewrite --enable-ssl > --enable-proxy --enable-proxy_http --enable-auth-digest > --with-apr=/MyHttpdPrefix

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
On 09/28/2017 11:21 AM, Matthias Schmitt wrote: > -with-apr=/MyHttpdPrefixPath --with-apr-util=/MyHttpdPrefixPath it looks like you can not compile apache from mod_perl anylonger. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological propor

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
On 09/28/2017 11:21 AM, Matthias Schmitt wrote: > Re-Hello, ... > >> I tried that with configure, make and sudo make install and it still >> can't find it. It is there under /usr/local/apr/ >> >> Configuring Apache/2.4.27 mod_perl/2.0.10 Perl/v5.26.0 >> [ error] Can't find apr include/ directory

Re: Compiling with Apache 2.4

2017-09-28 Thread Matthias Schmitt
Re-Hello, ... > I tried that with configure, make and sudo make install and it still > can't find it. It is there under /usr/local/apr/ > > Configuring Apache/2.4.27 mod_perl/2.0.10 Perl/v5.26.0 > [ error] Can't find apr include/ directory, > [ error] use MP_APR_CONFIG=/path/to/apr-config > >

Re: Compiling with Apache 2.4

2017-09-28 Thread John D Groenveld
In message <20170928133913.ga27...@www.mrbrklyn.com>, Ruben Safir writes: >I am trying to compile Apache 2.4.27 and mod_perl 2.0.10 and I used the >command > >perl Makefile.PL MP_USE_STATIC=11 >MP_AP_PREFIX="/home/ruben/src/httpd-2.4.xx" >MP_AP_CONFIGURE="--with-mpm=prefork --enable-load-all-module

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
> > "error: APR not found. Please read the documentation.” > > You need to install APR (Apache Portable Runtime) first. You can find it > here: http://apr.apache.org/. > > Best regards > > Matthias Schmitt > > magic moving pixel s.a. > 23, Avenue Grande-Duchesse Charlotte > L-3441 Dudelan

Re: Compiling with Apache 2.4

2017-09-28 Thread Matthias Schmitt
Hello, it’s me again, … > On 28 Sep 2017, at 16:23, Ruben Safir wrote: > > Correct: Let me correct my ignorance ;) > > [ruben@www3 mod_perl-2.0.10]$ perl Makefile.PL MP_USE_STATIC=1 > MP_AP_PREFIX="/home/ruben/src/httpd-2.4.27" > MP_AP_CONFIGURE="--with-mpm=prefork --enable-load-all-modules"

Re: Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
Correct: Let me correct my ignorance ;) [ruben@www3 mod_perl-2.0.10]$ perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX="/home/ruben/src/httpd-2.4.27" MP_AP_CONFIGURE="--with-mpm=prefork --enable-load-all-modules" Reading Makefile.PL args from @ARGV MP_USE_STATIC = 1 MP_AP_PREFIX = /hom

Re: Compiling with Apache 2.4

2017-09-28 Thread Matthias Schmitt
Hello, > On 28 Sep 2017, at 15:39, Ruben Safir wrote: > > I am trying to compile Apache 2.4.27 and mod_perl 2.0.10 and I used the > command > > perl Makefile.PL MP_USE_STATIC=11 > MP_AP_PREFIX="/home/ruben/src/httpd-2.4.xx" > MP_AP_CONFIGURE="--with-mpm=prefork --enable-load-all-modules" > > a

Compiling with Apache 2.4

2017-09-28 Thread Ruben Safir
I am trying to compile Apache 2.4.27 and mod_perl 2.0.10 and I used the command perl Makefile.PL MP_USE_STATIC=11 MP_AP_PREFIX="/home/ruben/src/httpd-2.4.xx" MP_AP_CONFIGURE="--with-mpm=prefork --enable-load-all-modules" and it bombs with: perl Makefile.PL MP_USE_STATIC=11 MP_AP_PREFIX="/home/rub