-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
72 lines (47 loc) · 1.46 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
64
65
66
67
68
69
70
* QUICK INSTRUCTIONS:
Fetch the repositories:
git clone git://github.com/pjotrp/ascilib.git
cd ascilib
git submodule init
git submodule update
The configure script is a convenience wrapper. For a Perl build of biolib:
./configure
make
make test
make install
For a Ruby build:
./configure --with-ruby
make
make test
make install
For a Perl build:
./configure --with-perl
make
make test
make install
** Using CMake directly
The following makes the default libraries:
cmake .
make
make test
** Using Rake (with Ruby)
To install BioLib with Ruby support one can simply execute rake:
rake build
rake test
rake install
For installations specific to Perl, Python etc. see below.
* INSTALL biolib
Install or build the following tools on your system
gcc > 3.3.x (usually default on Linux)
cmake >= 2.6 (2008 distributions - needed for SWIG support)
swig >= 1.3.33 (2008 distributions)
python >= 2.4 (if you want Python support)
ruby >= 1.8.6 (if you want Ruby support)
perl >= 5.8.8 (if you want Perl support)
So for Debian you can do:
apt-get install g++ cmake swig r-base zlib1g-dev python ruby perl
see also ./doc/DEPENDENCIES.txt for more information on runtime libraries.
cmake 2.6 is available in Debian testing and etch-backports.
** TROUBLE SHOOTING
When switching between build parameters make sure to remove the CMakeCache.txt
file in all directories. This can be achieved with sh ./scripts/cleanup.sh.