changeset 589:cdb348e051b5

Update installation instructions.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 26 Jul 2013 15:45:05 +0300
parents 573a3ad30938
children 2a6b512ee5a1
files INSTALL
diffstat 1 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL	Fri Jul 26 13:26:35 2013 +0300
+++ b/INSTALL	Fri Jul 26 15:45:05 2013 +0300
@@ -1,17 +1,28 @@
 Installation
 ------------
-NNChat requires a curses library, preferably ncurses. It is also possible
+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) ./nnchat --help
+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
+sudo install -m 755 nnchat /usr/local/bin