Difference between revisions of "WOCE Build Instructions"

From WebOS-Ports
Jump to navigation Jump to search
Line 14: Line 14:
 
|'''gcc''' || sudo apt-get install build-essential
 
|'''gcc''' || sudo apt-get install build-essential
 
|-
 
|-
|'''curl''' || sudo apt-get install curl
+
|'''python''' || sudo apt-get install python
|-
 
|'''unzip'''|| sudo apt-get install unzip
 
|-
 
|'''7zip *'''|| sudo apt-get install p7zip-full
 
|-
 
|'''autoconf'''|| sudo apt-get install autoconf
 
|-
 
|'''subversion'''|| sudo apt-get install subversion
 
|-
 
|'''libtool'''|| sudo apt-get install libtool
 
|-
 
|'''wget'''|| sudo apt-get install wget
 
|-
 
|'''pkg-config'''|| sudo apt-get install pkg-config
 
|-
 
|'''gettext'''|| sudo apt-get install gettext
 
|-
 
|'''fakeroot'''|| sudo apt-get install fakeroot
 
|-
 
|'''javac *'''|| sudo apt-get install sun-java6-jdk (if this command line does not work, then do :  sudo add-apt-repository ppa:ferramroberto/java; sudo apt-get update; sudo apt-get install sun-java6-jdk )
 
|-
 
|'''ant'''|| sudo apt-get install ant
 
|-
 
|'''cmake'''|| sudo apt-get install cmake
 
|-
 
|'''xsltproc'''|| sudo apt-get install xsltproc
 
|-
 
|'''intltool'''|| sudo apt-get install intltool
 
|-
 
|'''mkimage'''|| sudo apt-get install uboot-mkimage
 
|-
 
|'''lsdiff'''|| sudo apt-get install patchutils
 
|-
 
|'''flex'''|| sudo apt-get install flex
 
|-
 
|'''bison'''|| sudo apt-get install bison
 
|-
 
|'''libssl-dev'''|| sudo apt-get install libssl-dev
 
|-
 
|'''zlib1g-dev'''|| sudo apt-get install zlib1g-dev
 
|-
 
|'''libbz2-dev'''|| sudo apt-get install libbz2-dev
 
|-
 
|'''xar *'''|| sudo apt-get install xar
 
|-
 
|'''help2man'''|| sudo apt-get install help2man
 
|-
 
|'''texinfo'''|| sudo apt-get install texinfo
 
|-
 
|'''automake 1.10'''|| sudo apt-get install automake1.10
 
|-
 
|'''autopoint'''|| sudo apt-get install autopoint
 
|-
 
|'''xutils-dev'''|| sudo apt-get install xutils-dev
 
 
|}
 
|}
  
 
If you're uncertain at all, and you're using Ubuntu 12.04, just cut and paste the following.  If they are already installed, they'll be skipped.
 
If you're uncertain at all, and you're using Ubuntu 12.04, just cut and paste the following.  If they are already installed, they'll be skipped.
  
  sudo apt-get install git-core build-essential curl unzip p7zip-full autoconf subversion libtool wget pkg-config gettext fakeroot ant xsltproc intltool uboot-mkimage patchutils flex bison libssl-dev zlib1g-dev libbz2-dev help2man texinfo automake1.10 autopoint xutils-dev cmake
+
  sudo apt-get install git-core build-essential python
  
 
'''Note:''' If you are a beginner with Ubuntu Linux Distribution, you should update all the packages on your system to avoid problems when you will compile.
 
'''Note:''' If you are a beginner with Ubuntu Linux Distribution, you should update all the packages on your system to avoid problems when you will compile.
  
If you're on a 64-bit system, you will also need to install the ia32-libs package.
+
If you're on a 64-bit system, you will also need to install the multilibs package.
  
  

Revision as of 03:28, 25 June 2012

Supported Platforms

Currently the only supported platform is Ubuntu 12.04. We have tested and confirmed that x32 and x64 Ubuntu Desktop and Server successfully build WOCE. Other platforms may work but are not supported.

Installation on Ubuntu

Prerequisites

Your Ubuntu installation will need the following installed. If you do not have them, run the command after the package name. You can test if they are found by just typing the command name. If it says command not found, you need to install it.

git sudo apt-get install git-core
gcc sudo apt-get install build-essential
python sudo apt-get install python

If you're uncertain at all, and you're using Ubuntu 12.04, just cut and paste the following. If they are already installed, they'll be skipped.

sudo apt-get install git-core build-essential python

Note: If you are a beginner with Ubuntu Linux Distribution, you should update all the packages on your system to avoid problems when you will compile.

If you're on a 64-bit system, you will also need to install the multilibs package.


Start setup

  • Create a WOCE directory, we recommend you place it in your home directory.
  • Clone down the woce-build repo from github. git clone git://www.github.com/woce/seecretfornow
  • Start the build. this is as simple as cd'ing into the woce-build directory and ruuning make or if you have multiple cores make -j<number of cores here>
  • When the build finishes the binary's will be under the packages folder in their appropriate directories

Your Done!