Lpp comes in a Gnu Tar Zipped file lpp-VER.tgz where VER
represents the version of Lpp. See your system documentation on how
to unpack it. If we represent the directory in which you unpacked as
UDIR then after unpacking there will be a directory
UDIR/lpp. To make the Lpp library and accompaniments first go
to the UDIR/lpp directory and type
./configure
followed by
make
If both complete with no errors about missing components on your
system then you are ready to install Lpp. If you are installing in
the default or a protected area you probably need to log in as a super
user. Then while in UDIR/lpp type
make install
If we refer to the default system installation directory as
IDIR, on Linux for example IDIR will default to
/usr/local, then the following will get installed in Linux
subdirectories as follows
IDIR/doc/lpp/lpp.html
IDIR/include/lpp/Lpp.hh
IDIR/include/lpp/LppPure.hh
IDIR/include/lpp/rpMenu.hh
IDIR/info/lpp.info
IDIR/lib/lpp/libLpp.a
IDIR/lib/lpp/librpMenu.a
The file UDIR/lpp/doc/INSTALL has a more general description of
configure and make. For example if you want to install
in other than the default system installation directory then you can
specify to install under some other directory IDIR as follows
./configure --prefix IDIR
make
At this point while still in the UDIR directory you can install
the additional "No Tyoe Check" version of the Lpp library with the
following
make nc
make installnc
and this, using our above example, will install
IDIR/lib/lpp/libLppNC.a
The Lpp User's Manual will explain when you might want to use
libLppNC, See Type Checking. It doesn't hurt to do this and
you may as well at this point.
This make will also create an Lpp regression test. If you want to see
if it passes this test on your system you can do the following: Change
to the directory UDIR/lpp/lib/test and type
check
It runs the regression test and then does a diff against the
expected results. If you see
---- Lpp test suite #1 - difference between now and expected is:
and no following differences then it has passed the test on your system.
After the make install, referring to the above install
directory example, you can then read the Lpp User's Manual using Emacs
Info with the file lpp.info or as HTML using the URL
file:IDIR/doc/lpp/lpp.html
or
file:IDIR/doc/lpp/lpp.html/index.html
In particular you can read how to use Lpp, See Using Lpp.
If you want a hard copy of the Lpp User's Manual then change to the
directory UDIR/lpp/doc and type make ps which will make
the PostScript version lpp.ps.