John, thanks for your reply. the MP_NO_THREADS=1 made a difference, although Im still not able to complete the Build, ./configure works fine, when I run make I get further along, but eventually I get this error :
2 warnings generated. rm -f ../../../blib/arch/auto/APR/PerlIO/PerlIO.so cc -shared -L/usr/local/lib -fstack-protector-strong PerlIO.o modperl_apr_perlio.o -pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib -o ../../../blib/arch/auto/APR/PerlIO/PerlIO.so chmod 755 ../../../blib/arch/auto/APR/PerlIO/PerlIO.so make[3]: don't know how to make static. Stop ======= I did build my perl with -Duseperlio, I dont know if that could be causing the problem. *Inspecting the FreeBSD port file I see that it needs gmake instead of make, so I tried this :* perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MAKE=gmake MP_NO_THREADS=1 gmake *That also did not work, but the error was different :* cp lib/ModPerl/PerlRunPrefork.pm ../blib/lib/ModPerl/PerlRunPrefork.pm gmake[1]: Leaving directory '/usr/local/src/mod_perl-2.0.10/ModPerl-Registry' gmake[1]: Entering directory '/usr/local/src/mod_perl-2.0.10/WrapXS' make[2]: don't know how to make w. Stop make[2]: stopped in /usr/local/src/mod_perl-2.0.10/WrapXS/APR gmake[1]: *** [Makefile:478: subdirs] Error 2 gmake[1]: Leaving directory '/usr/local/src/mod_perl-2.0.10/WrapXS' gmake: *** [Makefile:627: subdirs] Error 2 ===== I appreciate the help. - Jose On Wed, Aug 30, 2017 at 3:23 PM, John D Groenveld <jdg...@elvis.arl.psu.edu> wrote: > In message <CAHpPzY5XW8JrPCdXETehPEjxhWRChgTpNxsdxQXHNumA=DkgQg@mail. > gmail.com> > , jbiskofski writes: > >FreeBSD servers. Its been a few years since I've been able to compile > >mod-perl in FreeBSD. Everytime I need a new webserver I need to install > >FreeBSD9 and Perl 5.22. This has gradually been causing me more and more > >problems with server maintenance. Im hoping somebody can help me work this > >out. And ideally this can be resolved for other users, I've googled a > bunch > >and it seems like Im not the only one going through this. > > > >*Heres what Im doing * > >*=================* > > > >tar xzfv perl-5.26.0.tar.gz > >cd perl-5.26.0 > >sh Configure -Dusethreads -des -A ccflags=-fPIC -Dprefix=/usr/local/perl > >-Duseperlio > >make > >make test > >make install > > > >*This works and I get a working perl5.26 binary, which I then symlink to > >/usr/local/bin and /usr/bin* > > I don't like mixing my application perl with my system perl, > but otherwise, LGTM. > > >*===================* > >tar xzfv httpd-2.4.27.tar.bz2 > > $ ./configure --with-expat=/usr --with-ssl=/usr --enable-ssl \ > --enable-proxy --enable-rewrite --enable-modules=all \ > --enable-mods-shared=all --with-mpm=prefork \ > --prefix=/usr/local/apache24 > > >tar xzfv mod_perl-2.0.10.tar.gz > > $ env PATH=/usr/local/perl/bin:/usr/local/apache24/bin:${PATH} \ > perl Makefile.PL MP_APXS=/usr/local/apache24/bin/apxs \ > MAKE=make MP_NO_THREADS=1 > > make test fails for t/apache/read.t and t/filter/in_bbs_inject_header.t > but otherwise it works. > > Happy hacking, > John > groenv...@acm.org >