Replicant60BuildDependenciesInstallation » History » Version 16
Denis 'GNUtoo' Carikli, 04/02/2013 12:03 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 | 13 | Denis 'GNUtoo' Carikli | Add the following to /etc/pacman.conf (it should be safe for freedom since lukeshu is part of the parabola community and pcr is a parabola repository): |
| 54 | 1 | Paul Kocialkowski | <pre> |
| 55 | 13 | Denis 'GNUtoo' Carikli | [pcr] |
| 56 | SigLevel = PackageRequired |
||
| 57 | Include = /etc/pacman.d/mirrorlist |
||
| 58 | |||
| 59 | 1 | Paul Kocialkowski | [~lukeshu] |
| 60 | 8 | Denis 'GNUtoo' Carikli | Include = /etc/pacman.d/mirrorlist |
| 61 | 7 | Denis 'GNUtoo' Carikli | </pre> |
| 62 | |||
| 63 | 1 | Paul Kocialkowski | Required packages : |
| 64 | <pre> |
||
| 65 | 13 | Denis 'GNUtoo' Carikli | pacman -S core/bison core/flex extra/gperftools core/ncurses community/squashfs-tools pcr/openjdk6-old extra/wget extra/zip core/zlib core/xz ~lukeshu/pngcrush extra/gperf |
| 66 | 7 | Denis 'GNUtoo' Carikli | </pre> |
| 67 | |||
| 68 | Additional requirements for amd64: |
||
| 69 | 15 | Denis 'GNUtoo' Carikli | Uncomment or add the following repository in /etc/pacman.conf: |
| 70 | 1 | Paul Kocialkowski | <pre> |
| 71 | 15 | Denis 'GNUtoo' Carikli | [multilib] |
| 72 | SigLevel = PackageRequired |
||
| 73 | Include = /etc/pacman.d/mirrorlist |
||
| 74 | 7 | Denis 'GNUtoo' Carikli | </pre> |
| 75 | 16 | Denis 'GNUtoo' Carikli | |
| 76 | <pre> |
||
| 77 | pacman -S multilib/lib32-glibc multilib/gcc-multilib multilib/lib32-readline multilib/lib32-ncurses |
||
| 78 | </pre> |