Here are my current install notes for FreeBSD 4.8 with stock gcc as a sytem
compiler.
I added the gcc 3.2.2 as a package, and then was able to build.

Thanks Gordon for the pointers...

Hope this helps someone one else with a long overdue upgrade.

If my FAM setup is wrong, please let me know... haven't got that far yet.

m/

#PREQUSITES: apache,gmake,ispell,openssl,djb-dns cache

#INSTALL FAM:
cd /usr/ports/devel/fam
make && make package
cp /usr/ports/devel/fam/fam-2.6.9_2.tgz /root/packages

#CONFIGURE FAM: (Not sure if this is complete yet)
cat >/etc/inetd2.conf <<END
#inetd config for internal address
sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam     fam

END

/usr/sbin/portmap -h 10.1.0.4
/usr/sbin/inetd -a 10.1.0.4 -p /var/run/inetd2.pid /etc/inetd2.conf
echo "/usr/sbin/inetd -a 10.1.0.4 -p /var/run/inetd2.pid /etc/inetd2.conf"
>>/etc/rc.local
echo "/usr/sbin/portmap -h 10.1.0.4" >>/etc/rc.local

#UPGRADE GCC - install freebsd port
cd /cd /usr/ports/lang/gcc32
make && make package

pw group add -n courier -g 65530
pw user add -c Courier -d /nonexistant -g courier -u 65530 -n courier -s
noshell

tar --use-compress-program bzip2 -xf courier-0.43.2.tar.bz2
cd courier-0.43.2

#copy required openssl script
su -
cp /usr/local/ssl/bin/c_rehash /usr/local/bin
exit

CFLAGS=-I/usr/local/include CXXFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib \
CXX=/usr/local/bin/g++32 CC=/usr/local/bin/gcc32 ./configure \
--prefix=/usr/local/courier \
--with-mailuser=courier \
--with-mailgroup=courier \
--with-paranoid-smtpext \
--without-authpam \
--without-authldap \
--without-authpwd \
--with-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authvchkpw \
--without-authcram \
--enable-https=auto \
--enable-workarounds-for-imap-client-bugs \
--with-certdb=/usr/local/ssl/certs \
--enable-webpass=no \
--with-ispell=/usr/local/bin/ispell \
--without-ipv6 \
--enable-mimetypes=/usr/local/apache80/conf/mime.types

gmake
su -
cd $BUILD_DIRECTORY
gmake install
gmake install-configure

And then read the manual ;-)




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to