Mercurial > hg > nnchat
view INSTALL @ 634:5269a8cdbd96
Use th_malloc0(n) instead of th_calloc(1, n).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 22 Jun 2014 03:32:39 +0300 |
parents | cdb348e051b5 |
children | 2d4089c92939 |
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 There is no real installation step, you can manually copy the resulting binary to /usr/local if you wish: sudo install -m 755 nnchat /usr/local/bin