Replicant60BuildDependenciesInstallation » History » Revision 74
Revision 73 (Denis 'GNUtoo' Carikli, 10/19/2019 05:52 PM) → Revision 74/89 (Denis 'GNUtoo' Carikli, 01/28/2021 02:17 PM)
h1. Replicant 6.0 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. It is recommended to have at least 4GB of RAM available. h2. Debian-based systems *Debian 9* Packages installation: <pre> dpkg --add-architecture i386 ; apt-get update apt-get build-dep gcc binutils llvm-defaults apt-get install bash 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 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 rsync </pre> As The @repo@ tend to update itself (by tool for downloading a new version of repo and running it) and that newer versions of repos also require newer versions of python, it doesn't work anymore on Debian 9 (stretch). To work around that, we also released "a version of repo that is self-contained":https://ftp.osuosl.org/pub/replicant/build-tools/repo/ . Make sure to read the README Replicant source code "is available in the contrib repository":https://packages.debian.org/stretch/repo (see "bug #855846":https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23855846 for installation instructions. The README content is also signed with gpg (by GNUtoo, who at the time of writing did the last Replicant 6 Release Candidates). reasons why it was moved to contrib). h2. Tips to make it build: * #1847 * #1848