DeprecatedReplicant60BuildDependenciesInstallation » History » Version 2
Wolfgang Wiedmeyer, 03/06/2017 12:16 PM
Debian 9 build dependencies, remove currently usupported distros
1 | 1 | Wolfgang Wiedmeyer | h1. Build dependencies installation |
---|---|---|---|
2 | |||
3 | *Replicant can only be built on 64 bit x86 architectures, building on 32 bit x86 systems is no longer supported.* |
||
4 | However, some prebuilt tools are still 32 bit x86 executables and some host tools are generated as 32 bit x86 executables. |
||
5 | |||
6 | h2. Debian-based systems |
||
7 | |||
8 | 2 | Wolfgang Wiedmeyer | h3. Debian 9 |
9 | 1 | Wolfgang Wiedmeyer | |
10 | Packages installation: |
||
11 | |||
12 | <pre> |
||
13 | dpkg --add-architecture i386 ; apt-get update |
||
14 | 2 | Wolfgang Wiedmeyer | apt-get build-dep gcc binutils llvm-defaults |
15 | apt-get install gcc-arm-none-eabi cmake python-dev swig ant bc proguard maven-debian-helper libemma-java libasm4-java libguava-java libnb-platform18-java libnb-org-openide-util-java libandroidsdk-ddmlib-java libmaven-source-plugin-java libfreemarker-java libmaven-javadoc-plugin-java repo ca-cacert curl gawk libgmp3-dev libmpfr-dev libmpc-dev git-core gperf libncurses-dev squashfs-tools pngcrush zip zlib1g-dev lzma libc6-dev-i386 g++-multilib lib32z1-dev lib32readline-dev lib32ncurses5-dev zlib1g-dev:i386 xsltproc python-mako schedtool gradle dirmngr libandroidsdk-sdklib-java eclipse-jdt libgradle-android-plugin-java android-sdk-build-tools android-sdk-platform-23 aapt lzop |
||
16 | 1 | Wolfgang Wiedmeyer | </pre> |
17 | |||
18 | h3. Tweaks |
||
19 | |||
20 | * If the packages manager complains about @lib32readline5-dev@ being missing, it has to be replaced with @lib32readline-gplv2-dev@ in the command line. |
||
21 | * If the @/usr/lib/zconf.h@ header is missing, a symlink has to be created: |
||
22 | <pre> |
||
23 | ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/lib/zconf.h |
||
24 | </pre> |
||
25 | * If errors messages about incompatible library versions are shown, some symlinks have to be created. For instance: |
||
26 | <pre> |
||
27 | sudo ln -s /usr/lib32/libstdc++.so.6.0.14 /usr/lib32/libstdc++.so |
||
28 | sudo ln -s /usr/lib32/libz.so.1.2.3.4 /usr/lib32/libz.so |
||
29 | </pre> |