Difference between revisions of "Required software"

From Openembedded.org
Jump to: navigation, search
(switch RequiredSoftware and "Required Software" pages redirection)
 
(31 intermediate revisions by 19 users not shown)
Line 1: Line 1:
 +
{{Outdated}}
 +
 
= OpenEmbedded's Software Requirements =
 
= OpenEmbedded's Software Requirements =
  
This page is the reference of what software is needed.  But [[OEandYourDistro]] is likely much faster in getting you that software actually installed.
+
This page is the reference of what software is needed.  But [[OEandYourDistro]] is likely much faster in getting you that software actually installed. A [[OE_Ubuntu_Script | script]] for Ubuntu is provided.
  
 
To use the OE build system the following software is required on your system:
 
To use the OE build system the following software is required on your system:
* [http://www.python.org/ Python] (Version 2.4.0 or later)
+
* [http://www.python.org/ Python] (2.6.x or 2.7.x for latest development version of bitbake)
 +
** '''Important''': Python 3 is ''not'' supported. If you are using Python 3 you will need to ensure Python 2 is installed and that /usr/bin/env python invokes python2
 
** Note that you may also need certain development files for Python e.g. for bitbake's setup.py to work. Depending on the distribution you use you may want to look for a package called "python-dev", "python-devel", or similar.
 
** Note that you may also need certain development files for Python e.g. for bitbake's setup.py to work. Depending on the distribution you use you may want to look for a package called "python-dev", "python-devel", or similar.
 +
* [http://www.dabeaz.com/ply/ Python-ply] PLY is an implementation of lex and yacc for
 +
Python
 +
* [http://pypi.python.org/pypi/progressbar/2.2 python-progressbar] This library provides a text mode progressbar for python.
 
* [http://www.gnu.org/software/patch/patch.html GNU Patch] (Version 2.5.9 or later, see ftp://alpha.gnu.org/gnu/diffutils/ .  It is a "testing release" and is not mirrored on the GNU mirrors.)
 
* [http://www.gnu.org/software/patch/patch.html GNU Patch] (Version 2.5.9 or later, see ftp://alpha.gnu.org/gnu/diffutils/ .  It is a "testing release" and is not mirrored on the GNU mirrors.)
 
* [http://www.gnu.org/software/m4/m4.html GNU m4]
 
* [http://www.gnu.org/software/m4/m4.html GNU m4]
 
* [http://www.gnu.org/software/make/ GNU make] (Version 3.80 or later for hh.org kernels)
 
* [http://www.gnu.org/software/make/ GNU make] (Version 3.80 or later for hh.org kernels)
* [http://psyco.sourceforge.net/ Psyco JIT Compiler] is recommended to increase performance
 
* [http://ccache.samba.org/ ccache]
 
 
* [http://www.perl.org/ perl] (needs newer than 5.0, how much newer? probably at least 5.6.2)
 
* [http://www.perl.org/ perl] (needs newer than 5.0, how much newer? probably at least 5.6.2)
 
* [http://invisible-island.net/diffstat/diffstat.html diffstat]
 
* [http://invisible-island.net/diffstat/diffstat.html diffstat]
 +
* [http://developer.berlios.de/projects/bitbake bitbake]
  
 
== Tools to download source files ==
 
== Tools to download source files ==
Line 19: Line 24:
 
* ftp
 
* ftp
 
* [http://www.nongnu.org/cvs/ cvs]
 
* [http://www.nongnu.org/cvs/ cvs]
* [http://www.venge.net/monotone/ monotone] 0.27 '''at least 0.26''' (It is recommended to use the same monotone version as the DB (0.32 on last update) as monotone db migrate command fails on some updates, at least it did so in the past)
 
 
* [http://subversion.tigris.org/ subversion]
 
* [http://subversion.tigris.org/ subversion]
 
* [http://git.or.cz/index.html git]
 
* [http://git.or.cz/index.html git]
 +
* [http://mercurial.selenic.com/ mercurial] (for some recipes)
  
 
== Tools to verify integrity of the downloaded sources ==
 
== Tools to verify integrity of the downloaded sources ==
Line 51: Line 56:
 
* SDL headers to build qemu-native (apt-get install libsdl1.2-dev under Ubuntu/Debian)
 
* SDL headers to build qemu-native (apt-get install libsdl1.2-dev under Ubuntu/Debian)
 
* [http://www.mktemp.org/mktemp/ mktemp] (required by quilt and used in some package patches)
 
* [http://www.mktemp.org/mktemp/ mktemp] (required by quilt and used in some package patches)
 +
* help2man - Create simple man pages from --help output
 +
* gawk - Text Processing Tool
 +
* chrpath - change the rpath or runpath in binaries
  
 
There is an ongoing effort to accurately document the required software within the OpenEmbedded and ultimately, this will be reflected in the ASSUME_PROVIDED variable.
 
There is an ongoing effort to accurately document the required software within the OpenEmbedded and ultimately, this will be reflected in the ASSUME_PROVIDED variable.
 +
 +
[[Category:User]]

Latest revision as of 15:57, 3 November 2012

NOTE: This page has been identified as having content that is significantly out-of-date, usually because it refers to OpenEmbedded-Classic - for new projects, you should use OpenEmbedded-Core.

See OpenEmbedded Wiki Update Project for more details.

OpenEmbedded's Software Requirements

This page is the reference of what software is needed. But OEandYourDistro is likely much faster in getting you that software actually installed. A script for Ubuntu is provided.

To use the OE build system the following software is required on your system:

  • Python (2.6.x or 2.7.x for latest development version of bitbake)
    • Important: Python 3 is not supported. If you are using Python 3 you will need to ensure Python 2 is installed and that /usr/bin/env python invokes python2
    • Note that you may also need certain development files for Python e.g. for bitbake's setup.py to work. Depending on the distribution you use you may want to look for a package called "python-dev", "python-devel", or similar.
  • Python-ply PLY is an implementation of lex and yacc for

Python

Tools to download source files

Tools to verify integrity of the downloaded sources

  • md5sum
  • sha256sum

Tools to unpack sources

  • tar
  • bzip2
  • gzip
  • unzip

Tools to build the various *-doc packages

Other packages

  • GNU sed 4.x
  • Bison
  • bc (binary calculator), if you want to build a Zaurus 2.4 or any of the collie kernels
  • glibc headers (libc6-dev in Debian, glibc-devel in RPM based (in PLD also glibc-static is needed))
  • pcre headers (Perl 5 Compatible Regular Expression Library, required for e.g. konqueror-embedded)
  • SDL headers to build qemu-native (apt-get install libsdl1.2-dev under Ubuntu/Debian)
  • mktemp (required by quilt and used in some package patches)
  • help2man - Create simple man pages from --help output
  • gawk - Text Processing Tool
  • chrpath - change the rpath or runpath in binaries

There is an ongoing effort to accurately document the required software within the OpenEmbedded and ultimately, this will be reflected in the ASSUME_PROVIDED variable.