Project

General

Profile

Downloading and Building LDV » History » Version 28

Ilja Zakharov, 04/14/2015 07:32 PM

1 11 Pavel Shved
h1. Downloading and Building LDV
2 1 Pavel Shved
3 3 Pavel Shved
LDV sources are stored in several Git repositories.  To download them, you currently need a "Git version control system":http://git-scm.com/ installed at your machine.  Git is free software, and you can download it "here":http://git-scm.com/download.
4 1 Pavel Shved
5
h2. Downloading all sources
6
7 7 Pavel Shved
We recommend using Git of version 1.6.6 or newer.  With this version getting sources is easy:
8 1 Pavel Shved
9
<pre>
10 20 Evgeny Novikov
$ git clone --recursive git://forge.ispras.ru/ldv-tools.git
11 1 Pavel Shved
</pre>
12
13 20 Evgeny Novikov
(you''ll download about 900 Mb, and the build will span to up to 5 Gb)
14 10 Pavel Shved
15 9 Pavel Shved
If, upon executing the command, it says that @--recursive@ is not supported, then you''re running an older version of Git.  If you don''t want to upgrade, please, refer to [[downloading sources with older version of Git]]. 
16 1 Pavel Shved
17 24 Evgeny Novikov
Current stable version is @v0.6@. To get it, after downloading, please perform:
18 1 Pavel Shved
19 20 Evgeny Novikov
<pre>
20 25 Evgeny Novikov
$ cd ldv-tools && git checkout v0.7 && git submodule update --init --recursive
21 20 Evgeny Novikov
</pre>
22 13 Pavel Shved
23
24 7 Pavel Shved
Downloading sources of subprojects (submodules) is crucial.  *LDV-tools won''t build without submodules*.
25 1 Pavel Shved
26
h2. Building LDV-tools
27
28 12 Pavel Shved
After you downloaded all the sources, you may examine source:INSTALL file for further instructions.
29 1 Pavel Shved
30 26 Ilja Zakharov
Note that LDV Tools has a considerable number of *prerequisites*. A full installation of LDV-tools requires C++, Java and OCaml compilers, Perl and Ruby interpreters and some modules/gems for them, and a web server that runs PHP 5. A full and concise list of prerequisites can be found in the source:INSTALL file.
31 1 Pavel Shved
32 26 Ilja Zakharov
LDV Tools take one or two hours to build.
33
34
h2. LDV Tools in Docker
35
36 28 Ilja Zakharov
You may try LDV Tools without installation on your machine by deploying it with help of Docker. There are two docker images are available. First one contains already installed ldv-tools of version v08-rc1 and the second one contains mysql-server and database to store results. Below you can find archive package with images and the tutorial:
37 26 Ilja Zakharov
38
* "images":http://linuxtesting.org/downloads/ldv-docker-0.8-rc1.tar.gz
39
40 27 Ilja Zakharov
* [[LDV Tools in Docker]]
41 26 Ilja Zakharov
42