INSTALL

perdition
Mail retrieval proxy server
Copyright (C) 1999-2005  Horms <horms@verge.net.au>
----------------------------------------------------------------------

To install perdition 
--------------------

tar zxf perdition-1.18.tar.gz
cd perdition-1.18
./configure --enable-static [--prefix=/usr]
make
make install


To build RPMS
-------------

rpmbuild -ta perdition-1.18.tar.gz

or

tar zxf perdition-1.18.tar.gz
cd perdition-1.18
./configure --enable-static --prefix=/usr
make distcheck
rpmbuild -ta perdition-1.18.tar.gz

N.B: If you have an older version of rpm you may need to use
     the "rpm" command instead of "rpmbuild". The command line
     options should be the same.


To build Debian Packages
------------------------

tar zxf perdition-1.18.tar.gz
cd perdition-1.18
dpkg-build -rfakeroot [-us] [-uc]

You will need to create a popmap and decide on your invocation method.
For details on this please see the README


To install on Solaris and Free BSD
----------------------------------

You may need to set some envirnoment variables to aid the build process.
You may also need to use gmake instead of make to use the
Makefiles that are generated by automake.

Bourne Shell

CPPFLAGS="-I/usr/local/include/"
export CPPFLAGS
LDFLAGS="-L/usr/local/lib/"
export LDFLAGS

tar zxf perdition-1.18.tar.gz
cd perdition-1.18
./configure --enable-static [--prefix=/usr]
gmake
gmake install

C Shell

env CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" \
	./configure --enable-static [--prefix=/usr]
gmake
gmake install

