4 1. A decent ISO C++-11 compiler. GCC (version >= 4.9) is recommended.
5 2. CLN library (http://www.ginac.de/CLN), version >= 1.2.2
6 3. CMake, version >= 2.8 (version 2.6.x might work too).
7 4. Python, version >= 2.6
8 5. (optional) pkg-config utility (http://pkg-config.freedesktop.org)
9 6. (optional) bison (>= 2.3), flex (2.5.33), GNU readline (>= 4.3). These
10 are necessary to build ginsh, the GiNaC interactive shell, and can be
11 skipped if you don't intend to use ginsh (i.e. you need the GiNaC library
12 for compiling another piece of a software).
13 7. (optional) To build the GiNaC tutorial and reference manual the doxygen
14 utility (it can be downloaded from http://www.stack.nl/~dimitri/doxygen)
15 and TeX are necessary.
20 To install from a source distribution:
21 --------------------------------------
25 $ tar xaf ginac-x.y.z.tar.bz2
27 2) Create a build directory
31 3) Run CMake to generate Makefile's
34 $ cmake ../ginac-x.y.z
36 4) Actually build GiNaC
40 5) Run the test and benchmark suite (not mandatory, but strongly recommended)
46 [become root if necessary]
52 The steps are essentially the same as compiling from the tarball, the only
53 difference is using git to get the code.
57 $ git clone git://www.ginac.de/ginac.git ginac
59 or, if you have already cloned the repository,
63 Subsequent steps are the same as compiling from a source tarball.