wget --passive-ftp http://www.openssl.org/source/openssl-0.9.6.tar.gz gunzip < openssl-0.9.6.tar.gz | tar xvf - cd openssl-0.9.6 make clean CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./config make make install cd .. wget --passive-ftp ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml2-2.3.4.tar.gz gunzip < libxml2-2.3.4.tar.gz | tar xvf - cd libxml2-2.3.4 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure --disable-corba make make install cd .. wget --passive-ftp http://ftp1.sourceforge.net/expat/expat-1.95.1.tar.gz gunzip < expat-1.95.1.tar.gz | tar xvf - cd expat-1.95.1 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure make make install cd .. wget --passive-ftp http://www.gingerall.com/perl/rd?url=sablot/Sablot-0.51.tar.gz gunzip < Sablot-0.51.tar.gz | tar xvf - cd Sablot-0.51 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure make make install cd .. wget --passive-ftp http://freshmeat.net/projects/zlib/altdownload/zlib.tar.gz gunzip < zlib.tar.gz | tar xvf - cd zlib-1.1.3 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure --shared make make install cd .. wget --passive-ftp http://httpd.apache.org/dist/apache_1.3.19.tar.gz gunzip < apache_1.3.19.tar.gz | tar xvf - cd apache_1.3.19 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure \ --activate-module=src/modules/php4/libphp4.a --enable-module=rewrite cd .. wget --passive-ftp http://www.php.net/distributions/php-4.0.5RC2.tar.gz gunzip < php-4.0.5RC2.tar.gz | tar xvf - cd php-4.0.5RC2 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure --with-mysql --with-xml --with-dom --with-zlib --with-gd \ --with-openssl --with-sablot --with-apache=../apache_1.3.19 --enable-inline-optimization make make install cd .. cd apache_1.3.19 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure \ --activate-module=src/modules/php4/libphp4.a --enable-module=rewrite make make install cd .. cd php-4.0.5RC2 CC=gcc CFLAGS="-O6 -march=i686 " CXX=gcc CXXFLAGS="-O6 -march=i686 " \ ./configure --with-mysql --with-xml --with-dom --with-zlib --with-gd \ --with-openssl --with-sablot --enable-inline-optimization make make install cd ..