Replicant60BuildDependenciesInstallation » History » Version 19
Paul Kocialkowski, 11/14/2013 07:30 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 | 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 | 4 | Paul Kocialkowski | h3. Trisquel/Ubuntu/Debian |
| 34 | |||
| 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 | 19 | Paul Kocialkowski | * If the packages manager complains about @lib32readline5-dev@ being missing, replace it with @lib32readline-gplv2dev@ in the command line. |
| 46 | * If the @/usr/lib/zconf.h@ header is missing, you will have to create a symlink there: |
||
| 47 | <pre> |
||
| 48 | sudo ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/lib/zconf.h |
||
| 49 | </pre> |
||
| 50 | * If you see errors about incompatible library versions, you may need some symlinks. For example: |
||
| 51 | <pre> |
||
| 52 | sudo ln -s /usr/lib32/libstdc++.so.6.0.14 /usr/lib32/libstdc++.so |
||
| 53 | sudo ln -s /usr/lib32/libz.so.1.2.3.4 /usr/lib32/libz.so |
||
| 54 | </pre> |
||
| 55 | |||
| 56 | 9 | Denis 'GNUtoo' Carikli | h3. Parabola/Arch |
| 57 | 13 | Denis 'GNUtoo' Carikli | |
| 58 | 1 | Paul Kocialkowski | 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): |
| 59 | 13 | Denis 'GNUtoo' Carikli | <pre> |
| 60 | [pcr] |
||
| 61 | SigLevel = PackageRequired |
||
| 62 | Include = /etc/pacman.d/mirrorlist |
||
| 63 | 1 | Paul Kocialkowski | |
| 64 | 8 | Denis 'GNUtoo' Carikli | [~lukeshu] |
| 65 | 7 | Denis 'GNUtoo' Carikli | Include = /etc/pacman.d/mirrorlist |
| 66 | </pre> |
||
| 67 | 1 | Paul Kocialkowski | |
| 68 | 19 | Paul Kocialkowski | Required Packages: |
| 69 | 17 | Denis 'GNUtoo' Carikli | <pre> |
| 70 | 7 | 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 extra/bc |
| 71 | </pre> |
||
| 72 | |||
| 73 | 19 | Paul Kocialkowski | Additional requirements for 64 bit computers: |
| 74 | 1 | Paul Kocialkowski | Uncomment or add the following repository in /etc/pacman.conf: |
| 75 | 15 | Denis 'GNUtoo' Carikli | <pre> |
| 76 | [multilib] |
||
| 77 | SigLevel = PackageRequired |
||
| 78 | 7 | Denis 'GNUtoo' Carikli | Include = /etc/pacman.d/mirrorlist |
| 79 | 16 | Denis 'GNUtoo' Carikli | </pre> |
| 80 | |||
| 81 | 18 | Denis 'GNUtoo' Carikli | <pre> |
| 82 | 16 | Denis 'GNUtoo' Carikli | pacman -S multilib/lib32-glibc multilib/gcc-multilib multilib/lib32-readline multilib/lib32-ncurses multilib/lib32-zlib |
| 83 | 1 | Paul Kocialkowski | </pre> |