$Id: INSTALL,v 1.13 2005/04/21 23:16:51 sarod Exp $
Basic Installation
==================

These are installation instructions for pdnmesh versions 0.1.2 or above. The latest source distribution can be downloaded from
	http://pdnmesh.sourceforge.net
	or
	http://metalab.unc.edu/pub/linux/visualization

You need the following before installing pdnmesh in UNIX
1) Unix like systems with X libraries
2) GTKGLExt http://gtkglext.sf.net/
3) OPTIONALLY, if you need a good eigensolver, LAPACK http://www.netlib.org/ or the Intel Math Kernel Library.
4) Optionally ARPACK to solve very large Eigenvalue problems using little 
   memory.

In MS Windows, you need
1) MFC
2) OpenGL
3) Optionally Intel Math Kernel or netlib LAPACK.
 
After downloading the tarred gzipped file "pdnmesh-*.*.*.tar.gz", type the 
following:
1) tar -xzvf pdnmesh-*.*.*.tar.gz 
   or
	gzip -dc pdnmesh-*.*.*.tar.gz | tar xvf -
	for non-GNU tar
2) cd pdnmesh-*.*.*/
3) ./configure 
4) make
5) make install
6) To enable ARPACK support, type ./configure --enable-arpack
   You need to have libarpack* in the usual lib PATH.

On debian systems, you can build the .deb just by typing
 dpkg-buildpackage
You need to have debhelper installed to do this.

If nothing goes wrong, pdnmesh will be installed in /usr/local/ (or /usr)
directory.  The (5) th step can be run only if you are root. If you want 
to just install it in any other directory like your home, in step (3) type:
  ./configure --prefix=YOUR_PREFIX
Here, YOUR_PREFIX can be the directory where you want to install pdnmesh. Then, the program will be installed in,
   YOUR_PREFIX/bin/pdnmesh
the docs will be in,
   YOUR_PREFIX/share/pdnmesh/
and the manual pages will be in,
   YOUR_PREFIX/man/
If you want to optimize, in step (3) type
   export CFLAGS=-O3;./configure
ans then do the compilation.

The program was tested in the following platforms:
i686-gnu-linux, ix86-freebsd, ix86-sun-solaris, sparc-sun-solaris and irix. 
The compiler used was gcc.
The program now runs under MS Win32 platforms with limited capabilities. 
The compiled used was MS Visual C++ using MFC.

Known Problems
==============
IMPORTANT! the current version for MS Windows  using MFC has only limited 
capabilities.
