Replicant60BuildDependenciesInstallation » History » Version 23
Denis 'GNUtoo' Carikli, 05/31/2014 01:45 PM
| 1 | 22 | Paul Kocialkowski | h1. Build Dependencies Installation |
|---|---|---|---|
| 2 | 6 | Paul Kocialkowski | |
| 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 | 19 | Paul Kocialkowski | * python 2.x |
| 8 | 4 | Paul Kocialkowski | * bison |
| 9 | * flex |
||
| 10 | 19 | Paul Kocialkowski | * git |
| 11 | 1 | Paul Kocialkowski | * gperf |
| 12 | 19 | Paul Kocialkowski | * libncurses development headers |
| 13 | * make |
||
| 14 | * gcc, g++ |
||
| 15 | * mksquashfs |
||
| 16 | 1 | Paul Kocialkowski | * openjdk 6 |
| 17 | 19 | Paul Kocialkowski | * pngcrush |
| 18 | * wget |
||
| 19 | 1 | Paul Kocialkowski | * zip |
| 20 | 19 | Paul Kocialkowski | * zlib development headers |
| 21 | 4 | Paul Kocialkowski | * lzma |
| 22 | |||
| 23 | 19 | Paul Kocialkowski | h3. Additional requirements for 64 bit computers |
| 24 | 1 | Paul Kocialkowski | |
| 25 | 19 | Paul Kocialkowski | * 32 bit libncurses |
| 26 | * 32 bit libreadline |
||
| 27 | * 32 bit libc6 headers |
||
| 28 | * 32 bit zlib |
||
| 29 | * gcc, g++ multilib support |
||
| 30 | 1 | Paul Kocialkowski | |
| 31 | h2. Command line installation |
||
| 32 | |||
| 33 | 20 | Da vi | h3. Trisquel/Debian/Ubuntu |
| 34 | 4 | Paul Kocialkowski | |
| 35 | 19 | Paul Kocialkowski | Required Packages: |
| 36 | 4 | Paul Kocialkowski | <pre> |
| 37 | 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 |
||
| 38 | </pre> |
||
| 39 | |||
| 40 | 19 | Paul Kocialkowski | Additional requirements for 64 bit computers: |
| 41 | 4 | Paul Kocialkowski | <pre> |
| 42 | apt-get install libc6-dev-i386 gcc-multilib g++-multilib lib32z1-dev lib32readline5-dev lib32ncurses5-dev |
||
| 43 | </pre> |
||
| 44 | 1 | Paul Kocialkowski | |
| 45 | 21 | Paul Kocialkowski | On Debian sid, multi-arch i386 has to be enabled and the following is also required: |
| 46 | <pre> |
||
| 47 | apt-get install zlib1g-dev:i386 |
||
| 48 | </pre> |
||
| 49 | |||
| 50 | 19 | Paul Kocialkowski | * If the packages manager complains about @lib32readline5-dev@ being missing, replace it with @lib32readline-gplv2dev@ in the command line. |
| 51 | * If the @/usr/lib/zconf.h@ header is missing, you will have to create a symlink there: |
||
| 52 | <pre> |
||
| 53 | sudo ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/lib/zconf.h |
||
| 54 | </pre> |
||
| 55 | * If you see errors about incompatible library versions, you may need some symlinks. For example: |
||
| 56 | <pre> |
||
| 57 | sudo ln -s /usr/lib32/libstdc++.so.6.0.14 /usr/lib32/libstdc++.so |
||
| 58 | sudo ln -s /usr/lib32/libz.so.1.2.3.4 /usr/lib32/libz.so |
||
| 59 | </pre> |
||
| 60 | |||
| 61 | 9 | Denis 'GNUtoo' Carikli | h3. Parabola/Arch |
| 62 | 13 | Denis 'GNUtoo' Carikli | |
| 63 | 23 | Denis 'GNUtoo' Carikli | Enable the pcr repository by adding the following to /etc/pacman.conf: |
| 64 | 13 | Denis 'GNUtoo' Carikli | <pre> |
| 65 | [pcr] |
||
| 66 | SigLevel = PackageRequired |
||
| 67 | Include = /etc/pacman.d/mirrorlist |
||
| 68 | 7 | Denis 'GNUtoo' Carikli | |
| 69 | 1 | Paul Kocialkowski | Required Packages: |
| 70 | 17 | Denis 'GNUtoo' Carikli | <pre> |
| 71 | 23 | 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 libre/pngcrush extra/gperf extra/bc |
| 72 | 7 | Denis 'GNUtoo' Carikli | </pre> |
| 73 | |||
| 74 | 19 | Paul Kocialkowski | Additional requirements for 64 bit computers: |
| 75 | 1 | Paul Kocialkowski | Uncomment or add the following repository in /etc/pacman.conf: |
| 76 | 15 | Denis 'GNUtoo' Carikli | <pre> |
| 77 | [multilib] |
||
| 78 | SigLevel = PackageRequired |
||
| 79 | 7 | Denis 'GNUtoo' Carikli | Include = /etc/pacman.d/mirrorlist |
| 80 | 16 | Denis 'GNUtoo' Carikli | </pre> |
| 81 | |||
| 82 | 18 | Denis 'GNUtoo' Carikli | <pre> |
| 83 | 16 | Denis 'GNUtoo' Carikli | pacman -S multilib/lib32-glibc multilib/gcc-multilib multilib/lib32-readline multilib/lib32-ncurses multilib/lib32-zlib |
| 84 | 1 | Paul Kocialkowski | </pre> |