Project

General

Profile

Downloading and Building LDV » History » Version 7

Pavel Shved, 08/03/2010 06:11 PM
fixed --recursive description

1 1 Pavel Shved
h1. Downloading the LDV sources
2
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 7 Pavel Shved
    $ git clone --recursive git://forge.ispras.ru/ldv-tools.git
11 1 Pavel Shved
</pre>
12
13 7 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, you should first add the following lines to @~/.gitconfig@:
14 1 Pavel Shved
15
<pre>
16
[alias]
17
       subinit = !"git submodule init; git submodule update ; git submodule foreach ''git subinit''"
18
</pre>
19
20
Note that the name of this alias (at left-hand side of @=@ sign) should match the one invoked at the end of this line!
21
22 7 Pavel Shved
Then clone without @--recursive@, and update submodules manually:
23 1 Pavel Shved
24 4 Pavel Shved
<pre>
25 7 Pavel Shved
    $ git clone --recursive git://forge.ispras.ru/ldv-tools.git
26
    $ cd ldv-tools
27 1 Pavel Shved
    $ git subinit
28
</pre>
29
30 7 Pavel Shved
Downloading sources of subprojects (submodules) is crucial.  *LDV-tools won''t build without submodules*.
31 1 Pavel Shved
32
h2. Building LDV-tools
33
34
After you downloaded all the sources, you may examine @INSTALL@ file for further instructions.
35
36 5 Pavel Shved
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 is found in the @INSTALL@ file.
37 1 Pavel Shved
38 6 Pavel Shved
LDV-tools take one or two hours to build.  If you''re tired waiting, make sure you tried our "*Online Verification*":http://linuxtesting.org/ldv/online, which uses the same backend as the one you''re building, and is deployed at our site.