annotate INSTALL @ 701:f3b119599b3a

Slight code cleanup on aisle nn_window_new().
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Jan 2020 20:04:06 +0200
parents 2d4089c92939
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
1 Installation
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
2 ------------
589
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
3 NNChat requires a curses library, preferably NCurses. It is also possible
350
768a8efb1bed Update documentation.
Matti Hamalainen <ccr@tnsp.org>
parents: 260
diff changeset
4 to compile NNChat for Windows via MinGW and use PDCurses instead, but this
768a8efb1bed Update documentation.
Matti Hamalainen <ccr@tnsp.org>
parents: 260
diff changeset
5 includes certain complexities in build process (see Makefile.w32)
38
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
6
589
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
7 0) Check that you have the prerequisites:
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
8
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
9 - GNU make
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
10 - GCC 4.3 or later, or LLVM clang 3.x
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
11 - binutils
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
12 - NCurses 5.x, OR PDCurses 3.4 or later
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
13
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
14 On Debian or Ubuntu, you could try following to install the requirements:
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
15
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
16 sudo apt-get install build-essential libncurses5-dev
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
17
38
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
18 1) Edit Makefile (optional)
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
19
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
20 2) make / gmake
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
21
589
cdb348e051b5 Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents: 350
diff changeset
22 3) Test by running ./nnchat --help
350
768a8efb1bed Update documentation.
Matti Hamalainen <ccr@tnsp.org>
parents: 260
diff changeset
23
682
2d4089c92939 There is 'make install'.
Matti Hamalainen <ccr@tnsp.org>
parents: 589
diff changeset
24 4) sudo make install