Go to the first, previous, next, last section, table of contents.


Installing the Nana library

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 

The check-mail and subscribe targets both send e-mail. If you need to change the mailer used try something like:

% make MAIL=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 `nana-bug@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 section 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.


Go to the first, previous, next, last section, table of contents.