Project

General

Profile

Replicant60BuildDependenciesInstallation » History » Revision 2

Revision 1 (Paul Kocialkowski, 10/08/2011 12:39 PM) → Revision 2/73 (Paul Kocialkowski, 10/08/2011 12:40 PM)

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

 == Required Packages == 

  * bison 
  * flex 
  * git (git-core) 
  * gperf 
  * libncurses development headers (libncurses-dev) 
  * make (build-essential) 
  * mksquashfs (squashfs-tools) 
  * openjdk 
  * 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 

 === 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 

 == Command line installation == 

 === Trisquel/Ubuntu/Debian === 

 Required packages : 
 {{{ 
 aptitude install    bison flex git-core gperf libncurses-dev build-essential squashfs-tools openjdk-6-jre openjdk-6-jdk pngcrush wget zip zlib1g-dev lzma 
 }}} 

 Additional requirements for amd64: 
 {{{ 
 aptitude install libc6-dev-i386 gcc-multilib g++-multilib lib32z1-dev lib32readline5-dev lib32ncurses5-dev  
 }}}