view INSTALL @ 695:f1df1cf69a38

Rename EXEEXT to BINEXT in the build system, as per changes in th-libs build system.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 06 Jan 2020 12:40:57 +0200
parents 2d4089c92939
children
line wrap: on
line source

Installation
------------
NNChat requires a curses library, preferably NCurses. It is also possible
to compile NNChat for Windows via MinGW and use PDCurses instead, but this
includes certain complexities in build process (see Makefile.w32)

0) Check that you have the prerequisites:

   - GNU make
   - GCC 4.3 or later, or LLVM clang 3.x
   - binutils
   - NCurses 5.x, OR PDCurses 3.4 or later

   On Debian or Ubuntu, you could try following to install the requirements:

   sudo apt-get install build-essential libncurses5-dev

1) Edit Makefile (optional)

2) make / gmake

3) Test by running ./nnchat --help

4) sudo make install