Replicant60BuildDependenciesInstallation » History » Version 12
Paul Kocialkowski, 01/03/2013 12:01 PM
1 | 6 | Paul Kocialkowski | h1. Build Dependencies |
---|---|---|---|
2 | |||
3 | 2 | Paul Kocialkowski | In order to be able to build Replicant, you need to install some (free) software: |
4 | |||
5 | 4 | Paul Kocialkowski | h2. Required Packages |
6 | 1 | Paul Kocialkowski | |
7 | 5 | Paul Kocialkowski | * python 2.5-2.7 |
8 | 4 | Paul Kocialkowski | * bison |
9 | * flex |
||
10 | * git (git-core) |
||
11 | * gperf |
||
12 | * libncurses development headers (libncurses-dev) |
||
13 | 1 | Paul Kocialkowski | * make (build-essential) |
14 | 4 | Paul Kocialkowski | * mksquashfs (squashfs-tools) |
15 | 5 | Paul Kocialkowski | * openjdk 6 |
16 | 4 | Paul Kocialkowski | * pngcrush - the build process will complain if it is not installed but builds will complete. |
17 | * wget (or curl) |
||
18 | * zip |
||
19 | * zlib development headers (zlib1g-dev) |
||
20 | * lzma |
||
21 | 1 | Paul Kocialkowski | |
22 | |||
23 | 4 | Paul Kocialkowski | h3. Additional requirements for amd64 |
24 | 1 | Paul Kocialkowski | |
25 | 4 | Paul Kocialkowski | |
26 | * libc6-dev-i386 |
||
27 | * gcc-multilib |
||
28 | * g++-multilib |
||
29 | * lib32z1-dev |
||
30 | * lib32readline5-dev |
||
31 | * lib32ncurses5-dev |
||
32 | * 32-bit compatibility libraries |
||
33 | * If you see errors about incompatible library versions, you may need some symlinks. For example: |
||
34 | *** sudo ln -s /usr/lib32/libstdc++.so.6.0.14 /usr/lib32/libstdc++.so |
||
35 | *** sudo ln -s /usr/lib32/libz.so.1.2.3.4 /usr/lib32/libz.so |
||
36 | |||
37 | h2. Command line installation |
||
38 | |||
39 | h3. Trisquel/Ubuntu/Debian |
||
40 | |||
41 | 12 | Paul Kocialkowski | Required packages: |
42 | 4 | Paul Kocialkowski | <pre> |
43 | 3 | Paul Kocialkowski | apt-get install bison flex git-core gperf libncurses-dev build-essential squashfs-tools openjdk-6-jre openjdk-6-jdk pngcrush wget zip zlib1g-dev lzma |
44 | 4 | Paul Kocialkowski | </pre> |
45 | 1 | Paul Kocialkowski | |
46 | Additional requirements for amd64: |
||
47 | 4 | Paul Kocialkowski | <pre> |
48 | 3 | Paul Kocialkowski | apt-get install libc6-dev-i386 gcc-multilib g++-multilib lib32z1-dev lib32readline5-dev lib32ncurses5-dev |
49 | 4 | Paul Kocialkowski | </pre> |
50 | 7 | Denis 'GNUtoo' Carikli | |
51 | h3. Parabola/Arch |
||
52 | 9 | Denis 'GNUtoo' Carikli | |
53 | 10 | Denis 'GNUtoo' Carikli | Add the following to /etc/pacman.conf (it should be safe for freedom since lukeshu is part of the parabola community): |
54 | 8 | Denis 'GNUtoo' Carikli | <pre> |
55 | [~lukeshu] |
||
56 | 10 | Denis 'GNUtoo' Carikli | Include = /etc/pacman.d/mirrorlist |
57 | 8 | Denis 'GNUtoo' Carikli | </pre> |
58 | 7 | Denis 'GNUtoo' Carikli | |
59 | Required packages : |
||
60 | 1 | Paul Kocialkowski | <pre> |
61 | 11 | Denis 'GNUtoo' Carikli | pacman -S core/bison core/flex extra/gperftools core/ncurses community/squashfs-tools extra/openjdk6 extra/wget extra/zip core/zlib core/xz ~lukeshu/pngcrush extra/gperf |
62 | 7 | Denis 'GNUtoo' Carikli | </pre> |
63 | |||
64 | Additional requirements for amd64: |
||
65 | <pre> |
||
66 | TODO. |
||
67 | </pre> |