- http://www.apache.org/
/tmp/httpd-2.2.14>env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sfw/bin \
CC=cc CFLAGS="-m64 -xO3" LDFLAGS="-m64 -L/usr/sfw/lib/64 -R/usr/sfw/lib/64" \
./configure --with-expat=/usr/sfw --with-ssl=/usr/sfw --enable-ssl \
--enable-proxy --enable-rewrite --enable-modules=all --enable-mods-shared=all \
--with-included-apr --prefix=/opt/apache2
# edit apr_rules.mk and config_vars.mk in /opt/apache2/build
# add "-m64 -xO3" to EXTRA_CFLAGS and "-m64" EXTRA_LDFLAGS
# confirm -L/usr/sfw/lib/64 -R/usr/sfw/lib/64
# edit apr-1-config and apu-1-config in /opt/apache2/bin
# add the same to CFLAGS and LDFLAGS
# confirm -L/usr/sfw/lib/64 -R/usr/sfw/lib/64
- http://www.cpan.org/
/tmp/perl-5.10.0>env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin \
./Configure -Dprefix=/opt/apache2/perl-5.10.0 -Dcc=cc -Duseshrplib \
-Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=-xO3 -Duse64bitall
- http://perl.apache.org/
/tmp/mod_perl-2.0.3>env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin \
/opt/apache2/perl-5.10.0/bin/perl Makefile.PL MP_APXS=/opt/apache2/bin/apxs
- http://httpd.apache.org/apreq/
/tmp/libapreq2-2.08>env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin \
CFLAGS="-m64 -xO3" LDFLAGS="-m64" \
/opt/apache2/perl-5.10.0/bin/perl Makefile.PL --with-apache2-apxs=/opt/apache2/bin/apxs
/tmp/libapreq2-2.08>env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sfw/bin \
LD_LIBRARY_PATH=/opt/apache2/lib:/usr/sfw/lib/64 \
/usr/sfw/bin/gmake
# libapreq2 requires GNUmake. gmake for Solaris 8 and 9 is available from blastwave.org
- http://tomcat.apache.org/
/tmp/tomcat-connectors-1.2.25-src/native>env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin \
./configure --with-apxs=/opt/apache2/bin/apxs
# tomcat-connectors-1.2.25-src.tar.gz requires GNU gtar.
- http://www.openssl.org/
# Ruby requires a more recent openssl.
./Configure shared --prefix=/opt/apache2/openssl solaris64-x86_64-cc
- http://www.ruby-lang.org/
# s!/bin/sh!/bin/bash!g in shell scripts
./configure '--prefix=/opt/apache2/ruby-1.9.1' 'CC=cc' 'CFLAGS=-xO3 -m64' 'LDFLAGS=-m64 -L/opt/apache2/openssl/lib -R/opt/apache2/openssl/lib'
# postgres gem must be munged for ruby-1.9.1