# $Id: INSTALL,v 1.5 2003/06/12 07:07:54 cons Exp $

In order to compile pan, you currently need a Unix system with quite
recent C and C++ compilers (gcc 3.2 or later should be just fine). Due
to our use of STL, pan cannot be compiled on any version of gcc older
than 2.96.

The following combinations are known to work well:
 - Red Hat Linux 6.x with gcc 3.0.4
 - Red Hat Linux 7.3 with gcc 2.96
 - Red Hat Linux 7.3 with gcc 3.2
 - Red Hat Linux 7.3 with gcc 3.2.2
 - Red Hat Linux 8.0 with gcc-3.2
 - Red Hat Linux 9   with gcc-3.2.2
 - Solaris 8         with gcc 3.2.2

You also need GNU tools (make, tar, diff...), perl and the zlib library.

It may compile on other operating systems but this has not been
tested.

To compile it, just type:
    # make
There are some variables that you can use to tune the compilation, see
the beginning of the Makefile.

You can run the internal tests with:
    # make test
Note: gcc 2.x seems buggy and pan sometimes core dumps when throwing
some exceptions, this does not happen with gcc 3.x.

To install the compiler and its man page, type:
    # make install
or
    # make install prefix=/usr/local
