In message <CAHpPzY5XW8JrPCdXETehPEjxhWRChgTpNxsdxQXHNumA=dk...@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