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
|
PREREQUISITES
=============
1. A decent ISO C++-14 compiler. GCC 5 or later is recommended.
2. CLN library (https://www.ginac.de/CLN), version >= 1.2.2
3. CMake, version >= 2.8 (version 2.6.x might work too).
4. Python 3
5. (optional) pkg-config utility (http://pkg-config.freedesktop.org)
6. (optional) bison (>= 2.3), flex (2.5.33), GNU readline (>= 4.3). These
are necessary to build ginsh, the GiNaC interactive shell, and can be
skipped if you don't intend to use ginsh (i.e. you need the GiNaC library
for compiling another piece of a software).
7. (optional) To build the GiNaC tutorial and reference manual the doxygen
utility (it can be downloaded from https://www.doxygen.nl/) and TeX are
necessary.
INSTALLATION
============
To install from a source distribution:
--------------------------------------
1) Unpack the tarball
$ tar xaf ginac-x.y.z.tar.bz2
2) Create a build directory
$ mkdir ginac_build
3) Run CMake to generate Makefile's
$ cd ginac_build
$ cmake ../ginac-x.y.z
4) Actually build GiNaC
$ make
5) Run the test and benchmark suite (not mandatory, but strongly recommended)
$ make check
6) Install GiNaC
[become root if necessary]
# make install
To install from git:
--------------------
The steps are essentially the same as compiling from the tarball, the only
difference is using git to get the code.
1) Download the code:
$ git clone git://www.ginac.de/ginac.git ginac
or, if you have already cloned the repository,
$ git pull
Subsequent steps are the same as compiling from a source tarball.
|