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
72
73
|
Installation
============
Installing gnubg is rather painless through the use of the GNU autoconf
package. Simply untar the gnubg distribution, and run the ``configure''
script. Then ``make´´ and then as root ``make install´´. If you have obtained
the distribution from the CVS repository, run ``./autogen.sh'' first.
You are likely to want or need the following tools
autoconf version >= 2.59
automake
libtool
GNU make
bison version >= 2.4
flex
A C compiler
If bison or flex are missing or too old, the files they create can be copied
from non-src (these are non-src/*_*) to the base directory.
Gcc or clang are the preferred compilers. Those from Intel or Sun/Oracle can
build gnubg but not necessarily with the SIMD extensions.
The only needed development library is
GLib version >= 2.8
but you probably want to make use of most of the following ones as well
png (graphics)
freetype2 (graphics)
GTK (GUI)
cairo (graphics)
canberra (sound)
gtkglext (3d boards)
readline (command line editing)
python (extension) version >= 2.3
sqlite3 (database)
gmp (additional random numbers generator)
curl (Internet random numbers generator)
Python does not have to be from the base system. Another version or a 3rd party
package like Anaconda would be suitable.
Gnubg documentation is provided in various viewable formats. Rebuilding it
from sources needs
texinfo
docbook2x
In most cases, configure will automatically determine everything it needs to
know in order to compile. However, there are a few options to ``configure'' to
help it out, or to disable a certain feature. See ``configure --help´´ for more
info.
--enable-simd=TYPE enable SIMD for newer cpus (TYPE=yes,no,sse,sse2,avx
default=yes)
--enable-gasserts enable g_assert debugging macros (Default disabled)
--disable-cputest disable runtime SIMD CPU test (Default no)
--enable-threads enable multithread support (Default enabled)
--with-gtk use GTK+ 2.0 (Default if found)
--with-board3d compile with 3D boards (Default if found)
--with-python[=PYTHON] absolute path name of Python executable
--with-eval-max-threads=size
define the maximum number of evaluation threads
allowed: (default=48)
--with-default-browser=program
specify the program to open URLs: (default=xdg-open,
or default=sensible-browser on Debian distros)
|