$Id: INSTALL,v 1.5 2002/02/18 23:51:23 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

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

If nothing goes wrong, pdnmesh will be installed in /usr/local/ 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/

The program was tested in the following platforms:
i686-gnu-linux, ix86-freebsd, ix86-sun-solaris, sparc-sun-solaris, and  MS Windows 98
The compiler used was gcc except for MSWin98 where Visual C++ 6.0 was used.

In order to use the perl script d2m, you need perl installed obviously. In most 
*nix platforms this is true.

Known Problems
==============

Compilation had some problems in Solaris platforms with gcc. To avoid this type
 ./configure --includedir=/usr/local/lib/gcc-lib/<gcc-version>/include
in step (3) above. Here the <gcc-version> in the version of the gcc compiler installed like 2.95.2.

