Project

General

Profile

Replicant60BuildDependenciesInstallation » History » Revision 7

Revision 6 (Paul Kocialkowski, 04/25/2012 04:43 PM) → Revision 7/77 (Denis 'GNUtoo' Carikli, 12/16/2012 02:51 PM)

h1. Build Dependencies 

 In order to be able to build Replicant, you need to install some (free) software: 

 h2. Required Packages 

 * python 2.5-2.7 
 * bison 
 * flex 
 * git (git-core) 
 * gperf 
 * libncurses development headers (libncurses-dev) 
 * make (build-essential) 
 * mksquashfs (squashfs-tools) 
 * openjdk 6 
 * pngcrush - the build process will complain if it is not installed but builds will complete. 
 * wget (or curl) 
 * zip 
 * zlib development headers (zlib1g-dev) 
 * lzma 


 h3. Additional requirements for amd64 


 * libc6-dev-i386 
 * gcc-multilib 
 * g++-multilib  
 * lib32z1-dev  
 * lib32readline5-dev 
 * lib32ncurses5-dev 
 * 32-bit compatibility libraries 
 * If you see errors about incompatible library versions, you may need some symlinks. For example: 
 *** 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 

 

 h2. Command line installation 

 h3. Trisquel/Ubuntu/Debian 

 Required packages : 
 <pre> 
 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 
 </pre> 

 Additional requirements for amd64: 
 <pre> 
 apt-get install libc6-dev-i386 gcc-multilib g++-multilib lib32z1-dev lib32readline5-dev lib32ncurses5-dev  
 </pre> 

 h3. Parabola/Arch 

 Required packages : 
 <pre> 
 pacman -S core/bison core/flex extra/gperftools core/ncurses community/squashfs-tools extra/openjdk6 extra/wget extra/zip core/zlib core/xz #TODO: in what package is pngcrush? 
 </pre> 

 Additional requirements for amd64: 
 <pre> 
 TODO. 
 </pre>