Next: Invoking, Previous: Introduction, Up: Top
Nana uses the normal GNU install method in the same way as `gcc' and `gdb'. To install nana in the default location `/usr/local/{bin,lib,include}' you would use:
% gzcat nana-1.10.tar.gz | tar xvf -
% cd nana-1.10
% ./configure
% make
% make install
% make check
% make check-mail
% make subscribe
If you wish to produce space and time efficient code then replace the `./configure' with:
% I_DEFAULT=fast ./configure
If you are using a Pentium compatiable CPU which supports the `RDTSC' instruction you may wish to enable cycle level timing in `cycles.h' by using:
% ./configure --enable-rdtsc
The check-mail and subscribe targets both send e-mail. If you need to change the mailer used try something like:
% make MAILER=elm subscribe
Note: we need to install nana before running the `make check' target. The `check-mail' target sends the test report via e-mail to the `gnuware@cs.ntu.edu.au'.
Of course things are never that simple. If you want to install Nana in a different location or change the behaviour on error detection see Configure.
Each of the sub-directories nana can be compiled and installed separately, e.g. if you don't need the documentation you can just compile and install from the `src' sub-directory after doing the configure statement.
Note that some of the subdirectories contain code that you may wish to install, improve or inspect. In particular: