Everything except Courier-Imap and Clamav were compiled with studio11 compiler courier-authlib and courier-imap installs are intended for vpopmail Daemontools: http://cr.yp.to/daemontools.html installed as: gtar -C /package -zxvf daemontools-0.76.tar.gz cd /package/admin/daemontools-0.76 :> package/boot.inittab package/install courier-authlib-0.58 (courier-authdaemon) installed as: gtar -jxvf courier-authlib-0.58.tar.bz2 cd courier-authlib-0.58 find ./ -type f -exec grep -l -- '-Wall' {} \; | xargs /usr/local/bin/sed -i.sed -e 's/-Wall//g' ./configure --enable-maildrop-gid=vchkpw --enable-maildirquota --with-db=db --without-authpam --without-authldap --without-authpwd --without-authpgsql --without-authshadow --without-authuserdb --without-authcustom --without-authcram --without-authpipe --without-authdaemon --with-authvchkpw --without-authmysql --enable-shared --cache-file=MY_FUCKING_CACHE.FILE LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -L/usr/sfw/lib" CFLAGS="-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include -I/usr/sfw/include" CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include -I/usr/sfw/include" CC=/usr/SUNWspro/bin/cc gmake gmake install gmake install-configure cp courier-authlib.sysvinit /usr/local/lib/courier-authlib chmod 751 /usr/local/lib/courier-authlib/courier-authlib.sysvinit courier-imap-4.1.1 (courier-imap*.xml) installed as: ################# ## AS REG USER ## ################# gtar -jxvf courier-imap-4.1.1.tar.bz2 cd courier-imap-4.1.1 ./configure --prefix=/usr/local --with-db=db --with-authvchkpw --without-authdaemon --without-authldap --with-authchangepwdir=/usr/local/lib/courier-authlib --with-waitfunc=wait --with-ssl --cache-file=config.cache LDFLAGS="-L/usr/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -L/usr/sfw/lib -L/usr/local/ssl/lib -L/usr/local/lib/courier-authlib" CFLAGS="-I/usr/local/ssl/include -I/usr/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include -I/usr/sfw/include" CPPFLAGS="-I/usr/local/ssl/include -I/usr/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include -I/usr/sfw/include" CC=/usr/sfw/bin/gcc gmake ############## ## AS R00T ## ############## gmake install gmake install-configure gmake distclean SpamAssassin installed as: /usr/local/bin/perl -MCPAN -e shell install Mail::SpamAssassin clamav-0.88.7 installed as: gtar -zxf clamav-0.88.7.tar.gz cd clamav-0.88.7 groupadd clamav useradd -d /tmp -s /bin/false clamav ./configure CC=/usr/sfw/bin/gcc LDFLAGS="-L/usr/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -L/usr/sfw/lib -L/usr/local/ssl/lib -L/usr/local/lib/courier-authlib" CFLAGS="-I/usr/local/ssl/include -I/usr/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include -I/usr/sfw/include" CPPFLAGS="-I/usr/local/ssl/include -I/usr/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include -I/usr/sfw/include" make make install