Apache 2.4, modperl for OmniOS

  1. OmniOS Dependencies
  2. # pkg install developer/gcc51 developer/pkg-config \
    developer/parser/bison developer/build/gnu-make \
    developer/object-file system/library/math system/header
      
  3. http://httpd.apache.org/
  4. http://apr.apache.org/
  5. /tmp/httpd-2.4.28>env PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/gnu/bin:/usr/sfw/bin \
    CC=gcc CFLAGS="-m64 -O3" LDFLAGS="-m64" \
    ./configure --with-expat=/usr --with-ssl=/usr --enable-ssl \
    --enable-proxy --enable-rewrite --enable-modules=all --enable-mods-shared=all \
    --with-mpm=prefork --with-included-apr --prefix=/opt/apache24
      
  6. http://www.cpan.org/
  7. /tmp/perl-5.26.1>env PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/gnu/bin:/usr/sfw/bin \
    ./Configure -Dprefix=/opt/apache24/perl-5.26.1 -Dcc=gcc -Duseshrplib \
    -Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=-O3 -Duse64bitall
      
  8. http://perl.apache.org/
  9. /tmp/mod_perl-2.0.10>env PATH=/opt/apache24/perl-5.26.1/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/gnu/bin:/usr/sfw/bin \
    MAKE=gmake \
    perl Makefile.PL MP_APXS=/opt/apache24/bin/apxs MAKE=gmake MP_NO_THREADS=1
    
    # tests require LWP::Simple
      

John D. Groenveld <groenveld@acm.org>
$Id: apache24.html,v 1.9 2017/10/09 16:53:13 jdg117 Exp jdg117 $