All pastes #214116 Raw Edit

Stuff

public text v1 · immutable
#214116 ·published 2006-10-21 21:02 UTC
rendered paste body

# mysql (rev.1) - client
./configure --bindir=/usr/local/mysql/bin --sbindir=/usr/local/mysql/sbin --libexecdir=/usr/local/mysql/libexec --datadir=/usr/local/mysql/share \
--sysconfdir=/usr/local/mysql/etc --sharedstatedir=/usr/local/mysql/com --localstatedir=/usr/local/mysql/var --libdir=/usr/local/mysql/lib --includedir=/usr/local/mysql/include \
--oldincludedir=/usr/local/mysql/include --infodir=/usr/local/mysql/info --mandir=/usr/local/mysql/man --enable-shared --enable-thread-safe-client \
--disable-largefile --with-charset=utf8 --with-collation=utf8_general_ci --without-uca --with-server-suffix=chroot \
--with-pthread --with-libwrap --without-debug --without-server --without-geometry --without-extra-tools --without-docs \
--without-man --without-bench --without-innodb
make
make install

# mysql (server)
./configure --bindir=/bin --sbindir=/sbin --libexecdir=/libexec --datadir=/share \
--sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var/db --libdir=/lib --includedir=/include \ 
--oldincludedir=/usr/include --infodir=/info --mandir=/man --enable-shared --enable-thread-safe-client \
--disable-largefile --with-charset=utf8 --with-collation=utf8_general_ci --without-uca --with-server-suffix=chroot \
--with-pthread --with-libwrap --without-debug --without-geometry --without-docs \
--without-man --without-bench --without-innodb
make
make install DESTDIR=/chroot/mysql


# libpng
tar -zxvf libpng-1.2.12.tar.gz
cd libpng-1.2.12
./configure --prefix=/usr/local/gd --enable-shared=yes
make
make install

# jibjpeg
tar -xvf jpegsrc.v6b.tar.gz
cd jpeg-6b/
./configure --prefix=/usr/local/gd --enable-shared=yes
make
make install

# libfreetype
tar -xvf freetype-2.2.1.tar.gz
cd freetype-2.2.1
./configure --prefix=/usr/local/gd --enable-shared=yes --without-zlib
make
make install


# gd
./configure --prefix=/usr/local/gd --enable-shared=yes --with-freetype=/usr/local/gd --with-png=/usr/local/gd
--with-jpeg=/usr/local/gd
make
make install

# mm
./configure --prefix=/usr/local/mm --enable-shared=yes
make
make install

# gettext
./configure --prefix=/usr/local/gettext --enable-shared=yes
--disable-java --disable-native-java --without-emacs
make
make install

# mcal
./configure --prefix=/usr/local/mcal --enable-shared=yes
make
make install


# mcrypt
./configure --prefix=/usr/local/mcrypt --enable-shared=yes
make
make install

# mhash
./configure --prefix=/usr/local/mhash --enable-shared=yes
make
make install

# sablot
./configure --prefix=/usr/local/sablot --enable-shared=yes --with-iconv --with-expat --with-readline
make
make install

# imap
mv imap-2006b.tar.Z /usr/local
cd /usr/local
tar -xvf imap-2006b.tar.Z
mv imap-2006b/ imap
cd imap/src/osdep/unix/
nano makefile (edit it and point the src's to correct dirs for openssl)
cd /usr/local/imap
make slx SSLTYPE=nopwd

# zlib
tar -zxvf zlib-*
cd zlib-*
./configure --prefix=/usr/local/zlib --shared=yes
make
make install

# expat
install from slackware packages

# libxml2
install from slackware packages


# install sendmail

# php5.x (binary php5.x for fastcgi)
cvs -d :pserver:cvsread@cvs.php.net:/repository checkout -r PHP_5_2 php5
cd php5
./configure --prefix=/usr/local/php5 --enable-force-cgi-redirect --enable-discard-path --enable-fastcgi --disable-ipv6
--with-mysql=/usr/local/mysql --without-pdo-sqlite --disable-simplexml --enable-track-vars --with-openssl=/usr
--with-imap=/usr/local/imap --with-imap-ssl=/usr --with-gd=/usr/local/gd --enable-ftp --enable-sysvsem
--enable-sysvshm --enable-sockets --enable-session --without-sqlite --with-gd=/usr/local/gd
--with-freetype-dir=/usr/local/gd --enable-gd-native-ttf --with-gettext=/usr/local/gettext --with-mm=/usr/local/mm
--with-jpeg-dir=/usr/local/gd --with-zlib-dir=/usr/local/zlib --enable-wddx --with-mcrypt=/usr/local/mcrypt
--with-mhash=/usr/local/mhash --with-mcal=/usr/local/mcal --enable-exif --enable-xslt
--with-xslt-sablot=/usr/local/sablot --with-dom --with-dom-xslt --with-pear --enable-memory-limit
--enable-zend-multibyte --enable-mbstring --enable-magic-quotes --with-mime-magic --enable-ctype
make
make install


# webserver

./configure --bindir=/bin --sbindir=/sbin --libexecdir=/libexec --datadir=/var/www --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/lib --includedir=/include --oldincludedir=/include --infodir=/info --mandir=/man --enable-mods-shared=all --enable-auth-digest --enable-isapi --disable-charset-lite --enable-log-forensic --enable-mime-magic --enable-usertrack --enable-unique-id --enable-http --disable-status --disable-autoindex --enable-suexec --enable-rewrite --enable-so --with-mpm=worker --with-suexec-bin=/sbin/suexec --with-suexec-caller=www --with-suexec-userdir=public_html --with-suexec-docroot=/var/www --with-suexec-uidmin=1000 --with-suexec-gidmin=1000 --with-suexec-logfile=/var/logs/suexec_log
make
make install DESTDIR=/chroot/httpd


# fastcgi
tar -zxvf mod_fcgid.1.10.tar.gz