Project

General

Profile

Downloading and Building LDV » History » Version 1

Pavel Shved, 08/03/2010 04:05 PM

1 1 Pavel Shved
h1. Downloading the LDV sources
2
3
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/.
4
5
h2. Downloading all sources
6
7
We recommend using Git of version 1.7.1 or newer.  With this version getting sources is easy:
8
9
<pre>
10
    $ git clone git://forge.ispras.ru/ldv-tools.git
11
    $ cd ldv-tools
12
    $ git submodule update --init --recursive
13
</pre>
14
15
If upon executing the third command it says that @--recursive@ is not supported, then you''re running an older version of Git.  If you don''t want to upgrade, you should first add the following lines to @~/.gitconfig@:
16
17
<pre>
18
[alias]
19
       subinit = !"git submodule init; git submodule update ; git submodule foreach ''git subinit''"
20
</pre>
21
22
And then execute, in the @ldv-tools@ directory:
23
24
<pre>
25
    $ git subinit
26
</pre>
27
28
Note that the name of this alias (at left-hand side of @=@ sign) should match the one invoked at the end of this line!
29
30
Downloading sources of subprojects (submodules) is crucial.  Without them, the LDV-tools won''t build.
31
32
h2. Building LDV-tools
33
34
After you downloaded all the sources, you may examine @INSTALL@ file for further instructions.
35
36
Note that LDV-tools has a vast 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.  A full and concise list of prerequisites is found in the @INSTALL@ file.
37
38
LDV-tools take one or two hours to build.  If you''re tired waiting, make sure that you tried our "*Online Verification*":http://linuxtesting.org/project/ldv, which uses the same backend, and is deployed at our site.