-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
63 lines (41 loc) · 2.31 KB
/
INSTALL
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
SAGA Python Bindings - Installation
<http://www.saga-project.org/python>
For detailed informations on how to install SAGA, please refer to the
documentation section on the SAGA website:
http://www.saga-project.org/documentation
PREREQUISISTES:
o SAGA Core Components
You have to install the SAGA Core Components before you can install the
Python Bindings. The Core Components are available on the SAGA website.
o Python >= 2.3
Of course Python is required to build the SAGA Python Bindings. The newer
the version, the better.
o Boost C++ Libraries >= 1.33
You need to have the Boost C++ libraries installed on your system. Many
systems already provide binary packages for them. If your system doesn't
you can download the source from http://www.boost.org and build it yourself.
NOTE: Please double-check that the boost::python libraries and headers are
installed on your system. They should install/build by default, but sometimes
they don't.
BUILDING AND INSTALLING THE PYTHON BINDINGS
o The Python bindings comes with a configure/make-based buildsystem. There are
two important options to ./configure:
--boost-location= The location of your Boost installation
(e.g. /usr/local/packages/boost-1.42). You only
need this option if boost is *not* installed in
the default path (/usr/ or /usr/local
--with-python= The location of your Python installation. You
only need this option if boost is *not* installed
in the defaul path (/usr/ or /usr/local)
o For a complete list of configure options, you can typ
./configure --help
o To configure, build and install the Python Bindings, make sure that
$SAGA_LOCATION points to your SAGA Core Components installation and
execute ./configure and make:
$> export SAGA_LOCATION=/PATH/TO/SAGA_CORE_INSTALLATION
$> ./configure --with-boost=/BOOST/DIR/
$> make
$> make install
Please help us to improve the quality of SAGA and file a bug report if you
have encountered any problems with the build system. Our bug-tracking system
can be found at: http://www.saga-project.org/developers/bugreporting