In order to simplify the description of the installation procedure, we assume that you are working on a UNIX system and have already copied the LASPack distribution file laspack-1.12.2.tar.Z.
The complete installation consists of following five steps:
uncompress laspack-1.12.2.tar.ZThis should create the entire distribution tree.
tar xvf laspack-1.12.2.tar
HOME home directory CC name of the C compiler CFLAGS compiler options LDFLAGS linker options
At this stage, you could use the environment variable ARCH_EXT in order to install the library and the test programs in different subdirectories depending on computer architecture. It may be advantageous, if you share your home directory across a heterogeneous computer network, for the management of several versions of binaries. In this case, set the variable ARCH_EXT to an appropriate value (e.g. /sunos on Sun workstations, /hp-ux on HP workstations, etc.) and make sure that the directory $HOME/bin$ARCH_EXT is contained in your PATH variable.
Run the installation script:
./installThis will generate the library liblaspack.a (and the library libxc.a which is no a part of LASPack but required by some test programs) and install it in the directory $HOME/lib$ARCH_EXT. Furthermore, it will build the test programs and install them in the directory $HOME/lib$ARCH_EXT.
The installation script should be started with an additional parameter:
LASPack tested successfully.Therewith LASPack installation is completed.
In order to run test programs in a C shell, do not forget to renew the hash tables by the command:
LASPack as well as the installation script was successfully tested on several machines: Sun Sparc5, HP 9000/735, IBM RS/6000 550, DEC 3000/800 M, SGI IRIS Indigo and PC 486 (running Linux). Nevertheless, if the installation fails, please contact the author.