Actions
DeprecatedReplicant60BuildDependenciesInstallation » History » Revision 2
« Previous |
Revision 2/5
(diff)
| Next »
Wolfgang Wiedmeyer, 03/06/2017 12:16 PM
Debian 9 build dependencies, remove currently usupported distros
Build dependencies installation¶
Replicant can only be built on 64 bit x86 architectures, building on 32 bit x86 systems is no longer supported.
However, some prebuilt tools are still 32 bit x86 executables and some host tools are generated as 32 bit x86 executables.
Debian-based systems¶
Debian 9¶
Packages installation:
dpkg --add-architecture i386 ; apt-get update apt-get build-dep gcc binutils llvm-defaults 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
Tweaks¶
- If the packages manager complains about
lib32readline5-dev
being missing, it has to be replaced withlib32readline-gplv2-dev
in the command line. - If the
/usr/lib/zconf.h
header is missing, a symlink has to be created:ln -s /usr/include/x86_64-linux-gnu/zconf.h /usr/lib/zconf.h
- If errors messages about incompatible library versions are shown, some symlinks have to be created. For instance:
sudo ln -s /usr/lib32/libstdc++.so.6.0.14 /usr/lib32/libstdc++.so sudo ln -s /usr/lib32/libz.so.1.2.3.4 /usr/lib32/libz.so
Updated by Wolfgang Wiedmeyer over 7 years ago · 2 revisions