File: INSTALL

package info (click to toggle)
gnugo 2.4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,816 kB
  • ctags: 1,828
  • sloc: ansic: 22,091; tcl: 401; sh: 376; makefile: 202
file content (71 lines) | stat: -rw-r--r-- 2,400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
                 GNU Go Installation Instructions

Get the most recent tar file from ftp.gnu.org or a mirror
(see http://www.gnu.org/order/ftp.html for a list).

Untar the sources, change to the directory gnugo-2.3.xx. Now do:

   ./configure
   make

This makes a binary called src/gnugo. Now (running as root) type

   make install

to install gnugo in /usr/local/bin. This will also install the man page
gnugo.6 into /usr/man/man6.

There are two methods of using GNU Go. You may run it from the
command line by just typing:

   gnugo

but it is nicer to run it under X-Windows using CGoban.

Obtain the most recent version of CGoban from Bill Shubert's web site,
http://www.hevanet.com/wms/ . The CGoban version number MUST be 1.9.1 
at least or it won't work.

Start CGoban. When the CGoban Control panel comes up, select `Go Modem.'
You will get the Go Modem Protocol Setup. Choose one (or both) of the
playsers to be ``Program,'' and fill out the box to the path to
gnugo. After clicking OK, you get the Game Setup window. Choose
``Rules Set'' to be Japanese (otherwise handicaps won't work). Set the
board size and handicap if you want. Click OK and you are ready to go.

In the Go Modem Protocol Setup window, when you specify the path
to GNU Go, you can give it command line options, such as --quiet
to suppress most messages. Since the Go Modem Protocol preempts
standard I/O other messages are sent to stderr, even if they are
not error messages. These will appear in the terminal from which
you started CGoban. 

Other command line options can be listed by typing gnugo --help  
-or-  man gnugo  from any terminal.

                          PROBLEMS

On one GNU/Linux machine compilation failed because it had an
incompatible /usr/include/curses.h (from BSD) which had
declarations inconsistent with those in /usr/include/term.h. The
symptom of this problem is compilation errors in src/moyo.c and
src/showbord.c.

In this case, the correct curses.h was found in /usr/include/ncurses
and a correct compilation was obtained after changing 

     #include <curses.h>  

to

     #include <ncurses/curses.h>

in src/moyo.c and src/showbord.c. If you have a problem with
errors in src/moyo.c and src/showbord.c caused by curses you
should try such a remedy first. If this doesn't work, you 
shouldn't curse. Run configure --disable-color to turn off
the color option and compile again.