<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.openembedded.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Timtim</id>
	<title>Openembedded.org - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.openembedded.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Timtim"/>
	<link rel="alternate" type="text/html" href="https://www.openembedded.org/wiki/Special:Contributions/Timtim"/>
	<updated>2026-05-07T17:27:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=Overview_of_OE_supported_machines&amp;diff=1126</id>
		<title>Overview of OE supported machines</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=Overview_of_OE_supported_machines&amp;diff=1126"/>
		<updated>2009-03-22T23:50:18Z</updated>

		<summary type="html">&lt;p&gt;Timtim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Machines Comparison ==&lt;br /&gt;
&#039;&#039;&#039;Warning This Comparison could be incomplete&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Machine&lt;br /&gt;
! CPU&lt;br /&gt;
! Ram&lt;br /&gt;
! Display&lt;br /&gt;
! Network&lt;br /&gt;
! Storage&lt;br /&gt;
! Input&lt;br /&gt;
! Other hardware&lt;br /&gt;
! Proprietary Drivers&lt;br /&gt;
! Last stable Kernel version&lt;br /&gt;
! Compatible Distributions(as in conf/distro in the openembedded tree)&lt;br /&gt;
|-&lt;br /&gt;
| [[BeagleBoard|Beagle Board]]&lt;br /&gt;
| OMAP3530@400 500 or 600Mhz&lt;br /&gt;
| 128MB DDR&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| 256MB,SD card slot&lt;br /&gt;
| 2 buttons&lt;br /&gt;
| 3D chip&lt;br /&gt;
| 3D chip userland libraries&lt;br /&gt;
|&lt;br /&gt;
| [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| Nokia N800&lt;br /&gt;
| OMAP2420@400 MHz &lt;br /&gt;
| 128MB&lt;br /&gt;
| 800x480 touchscreen &lt;br /&gt;
| wifi&lt;br /&gt;
| 256MB,2SDHC slots&lt;br /&gt;
| touchscreen,2 buttons&lt;br /&gt;
| GPS&lt;br /&gt;
| sound,power management,wifi(need a proprietary userland calibration tool),dsp are not free&lt;br /&gt;
| ?&lt;br /&gt;
| mamona,others?&lt;br /&gt;
|-&lt;br /&gt;
| Openmoko GTA02 (FreeRunner)&lt;br /&gt;
| ARM920T@400Mhz(arm v4t)&lt;br /&gt;
| 128MB&lt;br /&gt;
| 480x640 vga touchscreen(glamo graphic chip)&lt;br /&gt;
| wifi(ar6k)&lt;br /&gt;
| 256MB flash,micro-sd slot&lt;br /&gt;
| touchscreen&lt;br /&gt;
| Ti calypso GSM,GPRS modem,GPS&lt;br /&gt;
| 100% free driver (but 3 firmwares: gsm, wifi and gps)&lt;br /&gt;
| 2.6.28&lt;br /&gt;
| [[OpenMoko]], [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| [[OXNAS]]&lt;br /&gt;
| ARM926EJ-S@367MHz&lt;br /&gt;
| 128Kbyte on-chip SRAM, 128Mbytes DDR1/2 SDRAM&lt;br /&gt;
| &lt;br /&gt;
| integrated 10/100/1000 Ethernet MAC with MII and GMII support&lt;br /&gt;
| 1-2 SATA ports&lt;br /&gt;
| 2 buttons&lt;br /&gt;
| USB, PCI, 128-bit AES engine&lt;br /&gt;
| &lt;br /&gt;
| 2.6.24&lt;br /&gt;
| [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Ronetix]] PM9263&lt;br /&gt;
| AT91SAM9263 240MHz System on module&lt;br /&gt;
| 64MB DRAM&lt;br /&gt;
| &lt;br /&gt;
| integrated 10/100 Ethernet MAC with MII support&lt;br /&gt;
| 4MB NOR Flash, 256 MB NAND Flash&lt;br /&gt;
| touchscreen&lt;br /&gt;
| USB, Serial number chip DS2401&lt;br /&gt;
| &lt;br /&gt;
| 2.6.28&lt;br /&gt;
|  [[Angstrom]] or the angstrom based [[KaeilOS]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Marvell]] Sheevaplug&lt;br /&gt;
| Marvell Kirkwood MV88F6281 1.2GHz&lt;br /&gt;
| 512MB DDR2&lt;br /&gt;
| NA&lt;br /&gt;
| integrated 10/100/1000 Ethernet MAC with RGMII support&lt;br /&gt;
| 512 MB NAND Flash, SD card slot&lt;br /&gt;
| 1 button accessible internally, 1 externally&lt;br /&gt;
| USB 2.0 host &amp;amp; client ports (com port and ARM JTAG via client)&lt;br /&gt;
| None&lt;br /&gt;
|&lt;br /&gt;
|  [[Angstrom]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Machine]]&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=Overview_of_OE_supported_machines&amp;diff=1125</id>
		<title>Overview of OE supported machines</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=Overview_of_OE_supported_machines&amp;diff=1125"/>
		<updated>2009-03-22T23:45:12Z</updated>

		<summary type="html">&lt;p&gt;Timtim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Machines Comparison ==&lt;br /&gt;
&#039;&#039;&#039;Warning This Comparison could be incomplete&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Machine&lt;br /&gt;
! CPU&lt;br /&gt;
! Ram&lt;br /&gt;
! Display&lt;br /&gt;
! Network&lt;br /&gt;
! Storage&lt;br /&gt;
! Input&lt;br /&gt;
! Other hardware&lt;br /&gt;
! Proprietary Drivers&lt;br /&gt;
! Last stable Kernel version&lt;br /&gt;
! Compatible Distributions(as in conf/distro in the openembedded tree)&lt;br /&gt;
|-&lt;br /&gt;
| [[BeagleBoard|Beagle Board]]&lt;br /&gt;
| OMAP3530@400 500 or 600Mhz&lt;br /&gt;
| 128MB DDR&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| 256MB,SD card slot&lt;br /&gt;
| 2 buttons&lt;br /&gt;
| 3D chip&lt;br /&gt;
| 3D chip userland libraries&lt;br /&gt;
|&lt;br /&gt;
| [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| Nokia N800&lt;br /&gt;
| OMAP2420@400 MHz &lt;br /&gt;
| 128MB&lt;br /&gt;
| 800x480 touchscreen &lt;br /&gt;
| wifi&lt;br /&gt;
| 256MB,2SDHC slots&lt;br /&gt;
| touchscreen,2 buttons&lt;br /&gt;
| GPS&lt;br /&gt;
| sound,power management,wifi(need a proprietary userland calibration tool),dsp are not free&lt;br /&gt;
| ?&lt;br /&gt;
| mamona,others?&lt;br /&gt;
|-&lt;br /&gt;
| Openmoko GTA02 (FreeRunner)&lt;br /&gt;
| ARM920T@400Mhz(arm v4t)&lt;br /&gt;
| 128MB&lt;br /&gt;
| 480x640 vga touchscreen(glamo graphic chip)&lt;br /&gt;
| wifi(ar6k)&lt;br /&gt;
| 256MB flash,micro-sd slot&lt;br /&gt;
| touchscreen&lt;br /&gt;
| Ti calypso GSM,GPRS modem,GPS&lt;br /&gt;
| 100% free driver (but 3 firmwares: gsm, wifi and gps)&lt;br /&gt;
| 2.6.28&lt;br /&gt;
| [[OpenMoko]], [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| [[OXNAS]]&lt;br /&gt;
| ARM926EJ-S@367MHz&lt;br /&gt;
| 128Kbyte on-chip SRAM, 128Mbytes DDR1/2 SDRAM&lt;br /&gt;
| &lt;br /&gt;
| integrated 10/100/1000 Ethernet MAC with MII and GMII support&lt;br /&gt;
| 1-2 SATA ports&lt;br /&gt;
| 2 buttons&lt;br /&gt;
| USB, PCI, 128-bit AES engine&lt;br /&gt;
| &lt;br /&gt;
| 2.6.24&lt;br /&gt;
| [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Ronetix]] PM9263&lt;br /&gt;
| AT91SAM9263 240MHz System on module&lt;br /&gt;
| 64MB DRAM&lt;br /&gt;
| &lt;br /&gt;
| integrated 10/100 Ethernet MAC with MII support&lt;br /&gt;
| 4MB NOR Flash, 256 MB NAND Flash&lt;br /&gt;
| touchscreen&lt;br /&gt;
| USB, Serial number chip DS2401&lt;br /&gt;
| &lt;br /&gt;
| 2.6.28&lt;br /&gt;
|  [[Angstrom]] or the angstrom based [[KaeilOS]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Marvell]] Sheevaplug&lt;br /&gt;
| Marvell Kirkwood MV88F6281 1.2GHz&lt;br /&gt;
| 512MB DDR2&lt;br /&gt;
| NA&lt;br /&gt;
| integrated 10/100/1000 Ethernet MAC with RGMII support&lt;br /&gt;
| 512 MB NAND Flash&lt;br /&gt;
| 1 button accessible internally, 1 externally&lt;br /&gt;
| USB 2.0 host &amp;amp; client ports (com port and ARM JTAG via client), SD card slot&lt;br /&gt;
| None&lt;br /&gt;
|&lt;br /&gt;
|  [[Angstrom]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Machine]]&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=Overview_of_OE_supported_machines&amp;diff=1124</id>
		<title>Overview of OE supported machines</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=Overview_of_OE_supported_machines&amp;diff=1124"/>
		<updated>2009-03-22T23:05:49Z</updated>

		<summary type="html">&lt;p&gt;Timtim: Add sheevaplug&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Machines Comparison ==&lt;br /&gt;
&#039;&#039;&#039;Warning This Comparison could be incomplete&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Machine&lt;br /&gt;
! CPU&lt;br /&gt;
! Ram&lt;br /&gt;
! Display&lt;br /&gt;
! Network&lt;br /&gt;
! Storage&lt;br /&gt;
! Input&lt;br /&gt;
! Other hardware&lt;br /&gt;
! Proprietary Drivers&lt;br /&gt;
! Last stable Kernel version&lt;br /&gt;
! Compatible Distributions(as in conf/distro in the openembedded tree)&lt;br /&gt;
|-&lt;br /&gt;
| [[BeagleBoard|Beagle Board]]&lt;br /&gt;
| OMAP3530@400 500 or 600Mhz&lt;br /&gt;
| 128MB DDR&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| 256MB,SD card slot&lt;br /&gt;
| 2 buttons&lt;br /&gt;
| 3D chip&lt;br /&gt;
| 3D chip userland libraries&lt;br /&gt;
|&lt;br /&gt;
| [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| Nokia N800&lt;br /&gt;
| OMAP2420@400 MHz &lt;br /&gt;
| 128MB&lt;br /&gt;
| 800x480 touchscreen &lt;br /&gt;
| wifi&lt;br /&gt;
| 256MB,2SDHC slots&lt;br /&gt;
| touchscreen,2 buttons&lt;br /&gt;
| GPS&lt;br /&gt;
| sound,power management,wifi(need a proprietary userland calibration tool),dsp are not free&lt;br /&gt;
| ?&lt;br /&gt;
| mamona,others?&lt;br /&gt;
|-&lt;br /&gt;
| Openmoko GTA02 (FreeRunner)&lt;br /&gt;
| ARM920T@400Mhz(arm v4t)&lt;br /&gt;
| 128MB&lt;br /&gt;
| 480x640 vga touchscreen(glamo graphic chip)&lt;br /&gt;
| wifi(ar6k)&lt;br /&gt;
| 256MB flash,micro-sd slot&lt;br /&gt;
| touchscreen&lt;br /&gt;
| Ti calypso GSM,GPRS modem,GPS&lt;br /&gt;
| 100% free driver (but 3 firmwares: gsm, wifi and gps)&lt;br /&gt;
| 2.6.28&lt;br /&gt;
| [[OpenMoko]], [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| [[OXNAS]]&lt;br /&gt;
| ARM926EJ-S@367MHz&lt;br /&gt;
| 128Kbyte on-chip SRAM, 128Mbytes DDR1/2 SDRAM&lt;br /&gt;
| &lt;br /&gt;
| integrated 10/100/1000 Ethernet MAC with MII and GMII support&lt;br /&gt;
| 1-2 SATA ports&lt;br /&gt;
| 2 buttons&lt;br /&gt;
| USB, PCI, 128-bit AES engine&lt;br /&gt;
| &lt;br /&gt;
| 2.6.24&lt;br /&gt;
| [[Angstrom]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Ronetix]] PM9263&lt;br /&gt;
| AT91SAM9263 240MHz System on module&lt;br /&gt;
| 64MB DRAM&lt;br /&gt;
| &lt;br /&gt;
| integrated 10/100 Ethernet MAC with MII support&lt;br /&gt;
| 4MB NOR Flash, 256 MB NAND Flash&lt;br /&gt;
| touchscreen&lt;br /&gt;
| USB, Serial number chip DS2401&lt;br /&gt;
| &lt;br /&gt;
| 2.6.28&lt;br /&gt;
|  [[Angstrom]] or the angstrom based [[KaeilOS]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Marvell]] Sheevaplug&lt;br /&gt;
| Marvell Kirkwood 1.2GHz&lt;br /&gt;
| 512MB DDR2&lt;br /&gt;
| NA&lt;br /&gt;
| integrated 10/100/1000 Ethernet MAC with MII support&lt;br /&gt;
| 512 MB NAND Flash&lt;br /&gt;
| 1 button accessible internally, 1 externally&lt;br /&gt;
| USB 2.0 host &amp;amp; client ports (Serial and JTAG via client), SD card slot&lt;br /&gt;
| None&lt;br /&gt;
|&lt;br /&gt;
|  [[Angstrom]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Machine]]&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1110</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1110"/>
		<updated>2009-03-15T00:45:58Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac - the install order matters for a couple of packages as does having them installed in a more normal location.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk], [http://www.gnu.org/software/coreutils/ coreutils] and [http://git-scm.com/ git] - wget appears to not work if you install it in /usr/local so use --prefix=/usr also note OS X provides a different version of mktemp which functions differently, be careful not to overwrite this as OS X might need it&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
# Fixup your PATH variable for your build user so that /usr/local/bin (or where ever coreutils etc is installed) comes before the OS X version in /usr/bin&lt;br /&gt;
# Install GNU sed 3.0.2, this will give you a version of sed that allows you to build sed 4.1.5 - you will need to overwrite the one provided by OS X with --prefix=/usr and ensure you are using 4.1.5 not 3.0.2 as 3.0.2 does not provide various options you need&lt;br /&gt;
# Install getopt from [http://software.frodo.looijaard.name/getopt/download.php here] - modify WITHOUT_GETTEXT=0 to WITHOUT_GETTEXT=1 in the Makefile and add -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) to the line beginning with CPPFLAGS=&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide. Unfortunately there are various issues building on OS X that will most likely prevent the toolchain from building.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1109</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1109"/>
		<updated>2009-03-14T22:17:20Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac - the install order matters for a couple of packages as does having them installed in a more normal location.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk], [http://www.gnu.org/software/coreutils/ coreutils] and [http://git-scm.com/ git] - wget appears to not work if you install it in /usr/local so use --prefix=/usr also note OS X provides a different version of mktemp which functions differently, be careful not to overwrite this as OS X might need it&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
# Fixup your PATH variable for your build user so that /usr/local/bin (or where ever coreutils etc is installed) comes before the OS X version in /usr/bin&lt;br /&gt;
# Install GNU sed 3.0.2, this will give you a version of sed that allows you to build sed 4.1.5 - you will need to overwrite the one provided by OS X with --prefix=/usr and ensure you are using 4.1.5 not 3.0.2 as 3.0.2 does not provide various options you need&lt;br /&gt;
# Install getopt from [http://software.frodo.looijaard.name/getopt/download.php here] - modify WITHOUT_GETTEXT=0 to WITHOUT_GETTEXT=1 in the Makefile and add -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) to the line beginning with CPPFLAGS=&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1108</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1108"/>
		<updated>2009-03-14T22:10:00Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages as does having them installed in a more usual location.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk], [http://www.gnu.org/software/coreutils/ coreutils] and [http://git-scm.com/ git] - wget appears to not work if you install it in /usr/local so use --prefix=/usr also note OS X provides a different version of mktemp which functions differently, be careful not to overwrite this as OS X might need it&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
# Fixup your PATH variable for your build user so that /usr/local/bin (or where ever coreutils etc is installed) comes before the OS X version in /usr/bin&lt;br /&gt;
# Install GNU sed 3.0.2, this will give you a version of sed that allows you to build sed 4.1.5 - you will need to overwrite the one provided by OS X with --prefix=/usr and ensure you are using 4.1.5 not 3.0.2 as 3.0.2 does not provide various options you need&lt;br /&gt;
# Install getopt from [http://software.frodo.looijaard.name/getopt/download.php here] - modify WITHOUT_GETTEXT=0 to WITHOUT_GETTEXT=1 in the Makefile and add -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) to the line beginning with CPPFLAGS=&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1107</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1107"/>
		<updated>2009-03-14T20:59:37Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk] and [http://www.gnu.org/software/coreutils/ coreutils] - wget appears to not work if you install it in /usr/local so use --prefix=/usr also note OS X provides a different version of mktemp which functions differently, be careful not to overwrite this as OS X might need it&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
# Fixup your PATH variable for your build user so that /usr/local/bin (or where ever coreutils etc is installed) comes before the OS X version in /usr/bin&lt;br /&gt;
# Install GNU sed 3.0.2, this will give you a version of sed that allows you to build sed 4.1.5 - you will need to overwrite the one provided by OS X with --prefix=/usr and ensure you are using 4.1.5 not 3.0.2 as 3.0.2 does not provide various options you need&lt;br /&gt;
# Install getopt from [http://software.frodo.looijaard.name/getopt/download.php here] - modify WITHOUT_GETTEXT=0 to WITHOUT_GETTEXT=1 in the Makefile and add -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) to the line beginning with CPPFLAGS=&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1106</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1106"/>
		<updated>2009-03-14T20:21:05Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk] and [http://www.gnu.org/software/coreutils/ coreutils] - wget appears to not work if you install it in /usr/local so use --prefix=/usr also note OS X provides a different version of mktemp which functions differently, be careful not to overwrite this as OS X might need it&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
# Fixup your PATH variable for your build user so that /usr/local/bin (or where ever coreutils etc is installed) comes before the OS X version in /usr/bin&lt;br /&gt;
# Install GNU sed 3.0.2, this will give you a version of sed that allows you to build sed 4.1.5 - again you may/may not need the system version already in /usr/bin&lt;br /&gt;
# Install getopt from [http://software.frodo.looijaard.name/getopt/download.php here] - modify WITHOUT_GETTEXT=0 to WITHOUT_GETTEXT=1 in the Makefile and add -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) to the line beginning with CPPFLAGS=&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1105</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1105"/>
		<updated>2009-03-14T20:06:54Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk] and [http://www.gnu.org/software/coreutils/ coreutils] - wget appears to not work if you install it in /usr/local so use --prefix=/usr also note OS X provides a different version of mktemp which functions differently, be careful not to overwrite this as OS X might need it&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
# Fixup your PATH variable for your build user so that /usr/local/bin (or where ever coreutils etc is installed) comes before the OS X version in /usr/bin&lt;br /&gt;
# Install GNU sed 3.0.2, this will give you a version of sed that allows you to build sed 4.1.5 - again you may/may not need the system version already in /usr/bin&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1104</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1104"/>
		<updated>2009-03-14T19:55:48Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk] and [http://www.gnu.org/software/coreutils/ coreutils] - wget appears to not work if you install it in /usr/local so use --prefix=/usr also note OS X provides a different version of mktemp which functions differently, be careful not to overwrite this as OS X might need it&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
# Fixup your PATH variable for your build user so that /usr/local/bin (or where ever coreutils etc is installed) comes before the OS X version in /usr/bin&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1103</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1103"/>
		<updated>2009-03-14T19:37:16Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk] and [http://www.gnu.org/software/coreutils/ coreutils] - wget appears to not work if you install it in /usr/local so use --prefix=/usr&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1102</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1102"/>
		<updated>2009-03-14T19:06:44Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk] and [http://www.gnu.org/software/coreutils/ coreutils]&lt;br /&gt;
# If you are on a 32 bit Mac you can of course install [http://psyco.sourceforge.net/ psyco]&lt;br /&gt;
&lt;br /&gt;
Now follow the Getting Started OpenEmbedded wiki guide.&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1101</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1101"/>
		<updated>2009-03-14T18:56:08Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on a early 32 bit 10.5/Intel Mac without fink/darwinports for a cleaner install - the install order matters for a couple of packages.&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/wget/ wget], [http://www.gnu.org/software/gawk/ gawk] and [http://www.gnu.org/software/coreutils/ coreutils]&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1100</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1100"/>
		<updated>2009-03-14T18:35:36Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel! These steps were carried out on 10.5/Intel without fink/darwinports for a cleaner install. &lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
# Compile and install [http://www.gnu.org/software/gettext/ GNU gettext]&lt;br /&gt;
# Using CPAN install Locale::gettext&lt;br /&gt;
# Install [http://www.gnu.org/software/help2man/ help2man 1.29] - newer versions will not build without hacks&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1099</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1099"/>
		<updated>2009-03-14T17:46:27Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel!&lt;br /&gt;
&lt;br /&gt;
# Register at [https://connect.apple.com ADC] and download and install Xcode&lt;br /&gt;
# Install git using the [http://code.google.com/p/git-osx-installer/ git installer for OS X]&lt;br /&gt;
&lt;br /&gt;
Unfinished - old wiki link appears to be dead.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1098</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1098"/>
		<updated>2009-03-14T02:18:21Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel!&lt;br /&gt;
&lt;br /&gt;
* [http://code.google.com/p/git-osx-installer/ Git installer for OS X]&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1097</id>
		<title>OEandYourDistro</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=OEandYourDistro&amp;diff=1097"/>
		<updated>2009-03-14T02:11:53Z</updated>

		<summary type="html">&lt;p&gt;Timtim: /* Using OpenEmbedded on Mac OS X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Required software]] for the list of the software required by Openembedded.&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Linux systems =&lt;br /&gt;
&lt;br /&gt;
== deb-based distributions ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is via [http://blog.leggewie.org/?p=39 apt-get&#039;able Openembedded] which will pull the OE meta-data for you and keep it up-to-date.  Plus, it makes sure all necessary software for cross-compilation is installed.  Easy as 1-2-3.&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
==== Mandatory packages ====&lt;br /&gt;
&lt;br /&gt;
It is possible that not all software is available in a recent enough version for etch.  Try backports if necessary.&lt;br /&gt;
&lt;br /&gt;
 apt-get install ccache sed wget cvs subversion git-core \&lt;br /&gt;
    coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \&lt;br /&gt;
    gawk python-pysqlite2 diffstat help2man&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Git&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On debian you may have to run &lt;br /&gt;
&lt;br /&gt;
  update-alternatives --config git (as root)&lt;br /&gt;
&lt;br /&gt;
and select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition.  This is not necessary in sid&lt;br /&gt;
&lt;br /&gt;
==== Supplimentary packages ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install libxml2-utils xmlto python-psyco&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPTIONAL: these packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install docbook&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This package is necessary to build some packages (in particular the esound documentation needs it).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Ubuntu is based on Debian and instructions above for [[#deb-based distributions|Debian]] apply here as well. Make sure that you have the universe repositories in your apt configuration.&lt;br /&gt;
&lt;br /&gt;
* Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. &amp;quot;dash&amp;quot; is a POSIX compliant shell that is much smaller than &amp;quot;bash&amp;quot; -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh.  To work around this issue call &amp;quot;&#039;&#039;sudo dpkg-reconfigure dash&#039;&#039;&amp;quot; and select No when it asks you to install dash as /bin/sh.&lt;br /&gt;
* You can also install Psyco Python JIT compiler to speed up BitBake. Psyco works on 32-bit x86 platforms only.  &amp;quot;&#039;&#039;aptitude install python-psyco&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 8.10 (Intrepid) introduced a change to the default compiler flags. This is likely to cause build failures. Its possible to fix this behaviour by adding the following line to your local.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; BUILD_CPPFLAGS += &amp;quot;-Wno-format-security -U_FORTIFY_SOURCE&amp;quot; &amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also add these flags to the BUILD_CPPFLAGS variable in bitbake.conf, but typically you should never edit the bitbake.conf directly.&lt;br /&gt;
&lt;br /&gt;
== rpm-based distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Mandriva Linux ===&lt;br /&gt;
&lt;br /&gt;
Follow the Debian instructions, only using `urpmi` instead of `apt-get install`.  Also, `ccache` is not an official Mandriva package. You can find it in the contrib section of any Mandriva mirror or seach for it using the Mandriva Club rpm database [http://rpms.mandrakeclub.com].  You may need libpythonV.V-devel for bitbake setup instead of python-dev.&lt;br /&gt;
If you&#039;re building a 2.6 kernel, you also need the glibc-static-devel package.&lt;br /&gt;
&lt;br /&gt;
with Mandriva Linux 2006, you need to issue the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
urpmi python python-devel python-psyco ccache patch m4 sed bison make wget bzip2 \&lt;br /&gt;
cvs gawk glibc-devel gcc-c++ subversion sharutils coreutils docbook-utils openjade \&lt;br /&gt;
quilt pcre-devel unzip glibc-static-devel&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== openSUSE instructions ===&lt;br /&gt;
&lt;br /&gt;
Use zypper to install the required packages:&lt;br /&gt;
&lt;br /&gt;
  zypper in subversion git python help2man diffstat wget gcc gcc-c++ libstdc++ glibc-devel&lt;br /&gt;
&lt;br /&gt;
These packages may be useful as well: ccache, bison and [http://software.opensuse.org/search?baseproject=ALL&amp;amp;p=1&amp;amp;q=gcc33 gcc33] (for faster build using ASSUME_PROVIDED), gtk2-devel (in case your build will fail on missing gdk-pixbuf-csource), bc (for collie kernel), ncurses-devel (if you want to call kernel menuconfig). python psyco package is optional.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 2/3  ====&lt;br /&gt;
Much of the following is probably already installed, but you can check with the following commands.  You may want to use the yum.conf located at http://www.fedorafaq.org/.  Note, this has not been tested yes as I am in the process of setting up a development environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt; yum install python patch m4 sed make docbook* openjade glibc-devel xmlto&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `yum install ccache` (not required, also not a FC3 package)&lt;br /&gt;
&lt;br /&gt;
* psyco: Download psyco-1.4-src.tar.gz (or later) and extract it. Go to the psycho top-level directory and run: `python setup.py install`.&lt;br /&gt;
&lt;br /&gt;
* patch:  FC3 default version should be enough. Optionally, install SuSe 9.1 package of it.&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 4  ====&lt;br /&gt;
Almost all required packages for Openembedded are available in Fedora Core 4 and the Fedora Extras for Core 4. You can download them from &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core&amp;gt; and &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/extras&amp;gt;. Check &amp;lt;http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4&amp;gt; for updates on the Core 4 packages.&lt;br /&gt;
&lt;br /&gt;
Apart from the usual (native) development packages like gcc and binutils, you should check that you have the following RPM&#039;s installed: &lt;br /&gt;
&lt;br /&gt;
* bison&lt;br /&gt;
* ccache (not required, but advised to speed up building)&lt;br /&gt;
* docbook* packages&lt;br /&gt;
* libpcre&lt;br /&gt;
* m4&lt;br /&gt;
* make&lt;br /&gt;
* openjade&lt;br /&gt;
* patch&lt;br /&gt;
* PyQt&lt;br /&gt;
* python&lt;br /&gt;
* python-psyco&lt;br /&gt;
* sed&lt;br /&gt;
* xmlto&lt;br /&gt;
* quilt (not required as OE builds it by itself, but install it if you want to use gquilt)&lt;br /&gt;
&lt;br /&gt;
Use apt, synaptic, up2date or yum to automagically retrieve these packages or download and install them manually (lots of work).&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core 5/6  ====&lt;br /&gt;
&lt;br /&gt;
Commands I used to install OE pre-requisites on FC5/6&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch gcc gcc-c++ python-sqlite2 help2man&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or download the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm (may be out of date).&lt;br /&gt;
&lt;br /&gt;
then do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum localinstall openembedded-essential-1.1-1.noarch.rpm&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are also rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ pending a later version in Extras, currently 1.6.0.&lt;br /&gt;
&lt;br /&gt;
Update - Current FC6 version is patch-2.5.4-29.2.2 as of this writing and works-for-me (see revision history for build instructions if current patch does not work for you).&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t install SGML tools.  Please add if you know how&lt;br /&gt;
&lt;br /&gt;
Update - Since about 2002 sgml-tools has apparently been replaced by linuxdoc-tools for FC.&lt;br /&gt;
&lt;br /&gt;
==== Fedora 7  ====&lt;br /&gt;
&lt;br /&gt;
This long command will ensure all pre-requisites are installed (patch is 2.5.4, not 2.5.9, but appears to work).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
su -c &amp;quot;yum install python m4 make wget curl ftp cvs subversion tar bzip2 gzip unzip python-psyco ccache perl texinfo texi2html diffstat openjade docbook-style-dsssl docbook-style-xsl docbook-dtds docbook-utils sed bison bc glibc-devel gcc binutils pcre pcre-devel git quilt groff linuxdoc-tools patch linuxdoc-tools gcc gcc-c++ help2man perl-ExtUtils-MakeMaker&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(if this is hard to copy from this HTML page, go to edit mode and copy from editor)&lt;br /&gt;
&lt;br /&gt;
=== CentOS 4.4 / Red Hat Enterprise Linux 4  ===&lt;br /&gt;
May also work for true EL4 or Scientific Linux - another RHEL rebuild&lt;br /&gt;
&lt;br /&gt;
Even with several optional and 3rd party yum repos enabled (centosplus, kbsingh, RPMforge/Dag, Dries) a number of required packages are too old or unavailable for CentOS4.   [It should be possible to use other package managers including apt/synaptic, up2date, and smart to get the required packages.  The following assumes yum.]&lt;br /&gt;
&lt;br /&gt;
I re-built the following SRPMS (with &amp;quot;$ rpmbuild --rebuild ...&amp;quot;):&lt;br /&gt;
* boost-1.33.1-10.fc5.src.rpm&lt;br /&gt;
* bitbake-1.6.2-1.src.rpm (Latest tarball from http://developer.berlios.de/projects/bitbake/ + modified spec from bitbake-1.6.0-2.fc7.src.rpm)&lt;br /&gt;
&lt;br /&gt;
Might also want to try the rpm and src.rpm packages of bitbake 1.6.2 at http://www.openembedded.org/dl/packages/rpm/ - I have not.&lt;br /&gt;
&lt;br /&gt;
Extra requirements for the builds included rpmdevtools, xmlto, and  lynx.&lt;br /&gt;
&lt;br /&gt;
I put packages in a local repo so I can do &amp;quot;yum install ...&amp;quot;, otherwise can do &amp;quot;yum localinstall foo.1.2.3.noarch.rpm ...&amp;quot;.  It may be necessary to temporarily set &amp;quot;gpgcheck=0&amp;quot; in /etc/yum.conf to avoid complaints about unsigned packages.&lt;br /&gt;
&lt;br /&gt;
For EL4 texi2html is available from the tetex package, currently tetex-2.0.2-22.EL4.7&lt;br /&gt;
&lt;br /&gt;
Note that the the metapackage http://www.openembedded.org/dl/packages/rpm/openembedded-essential-1.1-1.noarch.rpm&lt;br /&gt;
should work except that it depends on texi2html.&lt;br /&gt;
&lt;br /&gt;
Instead as root do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# yum install bison ccache coreutils cvs docbook-utils gawk git-core \&lt;br /&gt;
  python quilt rpmlib sed subversion tetex texinfo unzip wget&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I ended up with the following set of relevant packages after several iterations of building/updating to get &amp;quot;bitbake nano&amp;quot; to complete successfully:&lt;br /&gt;
&lt;br /&gt;
* python-2.3.4-14.3&lt;br /&gt;
* m4-1.4.1-16&lt;br /&gt;
* make-3.80-6.EL4&lt;br /&gt;
* wget-1.10.2-0.40E&lt;br /&gt;
* curl-7.12.1-8.rhel4&lt;br /&gt;
* ftp-0.17-22&lt;br /&gt;
* cvs-1.11.17-9.RHEL4&lt;br /&gt;
* subversion-1.4.3-0.1.el4.rf&lt;br /&gt;
* tar-1.14-12.RHEL4&lt;br /&gt;
* bzip2-1.0.2-13.EL4.3&lt;br /&gt;
* gzip-1.3.3-16.rhel4&lt;br /&gt;
* unzip-5.51-7&lt;br /&gt;
* python-psyco-1.5-3.el4.kb&lt;br /&gt;
* ccache-2.4-1.2.el4.rf&lt;br /&gt;
* perl-5.8.5-36.RHEL4&lt;br /&gt;
* texinfo-4.7-5.el4.2&lt;br /&gt;
* tetex-2.0.2-22.EL4.7&lt;br /&gt;
* diffstat-1.34-0_6.el4.at&lt;br /&gt;
* openjade-1.3.2-16_9.el4.at&lt;br /&gt;
* docbook-style-dsssl-1.78-4&lt;br /&gt;
* docbook-style-xsl-1.65.1-2&lt;br /&gt;
* docbook-dtds-1.0-25&lt;br /&gt;
* docbook-utils-0.6.14-4&lt;br /&gt;
* sed-4.1.2-5.EL4&lt;br /&gt;
* bison-1.875c-2&lt;br /&gt;
* bc-1.06-17.1&lt;br /&gt;
* glibc-devel-2.3.4-2.25&lt;br /&gt;
* gcc-3.4.6-3&lt;br /&gt;
* binutils-2.15.92.0.2-21&lt;br /&gt;
* pcre-4.5-3.2.RHEL4&lt;br /&gt;
* pcre-devel-4.5-3.2.RHEL4&lt;br /&gt;
* git-1.4.4.2-2.el4.kb&lt;br /&gt;
* bitbake-1.6.2-1&lt;br /&gt;
&lt;br /&gt;
== other Linux distributions ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo instructions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
emerge -n \&lt;br /&gt;
  psyco \&lt;br /&gt;
  ccache \&lt;br /&gt;
  patch \&lt;br /&gt;
  make \&lt;br /&gt;
  sed \&lt;br /&gt;
  dev-lang/python \&lt;br /&gt;
  m4 \&lt;br /&gt;
  bison \&lt;br /&gt;
  cvs \&lt;br /&gt;
  openjade \&lt;br /&gt;
  quilt \&lt;br /&gt;
  sgmltools-lite \&lt;br /&gt;
  docbook-xml-dtd \&lt;br /&gt;
  docbook-dsssl-stylesheets \&lt;br /&gt;
  xmlto \&lt;br /&gt;
  docbook-sgml-utils \&lt;br /&gt;
  libpcre \&lt;br /&gt;
  boost \&lt;br /&gt;
  subversion \&lt;br /&gt;
  texi2html \&lt;br /&gt;
  pysqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then follow the instructions in [[Getting started]] for obtaining bitbake and start the build.&lt;br /&gt;
&lt;br /&gt;
=== Ark Linux 2007.1 ===&lt;br /&gt;
[http://www.arklinux.org/ Ark Linux] is a modern distribution well suited for Openembedded development. Footprint only 2.1G.&lt;br /&gt;
&lt;br /&gt;
Required steps:&lt;br /&gt;
&lt;br /&gt;
1) install required packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install devel-core diffstat texi2html cvs subversion git texinfo psyco python-devel python-encodings python-sqlite&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) upgrade&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade &lt;br /&gt;
&lt;br /&gt;
The following packages will be REPLACED:&lt;br /&gt;
  texi2html (by tetex-texi2html)&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  tetex-texi2html&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) help2man&lt;br /&gt;
&lt;br /&gt;
help2man is missing from the ArkLinux repositories.  The [http://www.gnu.org/software/help2man/ sources] must be configured, compiled and installed.  The compilation of help2man requires the installation of some additional packages:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext-devel gettext-tools perl-Locale-gettext&lt;br /&gt;
&lt;br /&gt;
4) finally create your OE tree and provide bitbake (see [[Getting started]] instructions)&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux (Duke)  ===&lt;br /&gt;
&lt;br /&gt;
Most of the packages are available in the repositories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo pacman -S psyco ccache patch make sed python m4 bison cvs quilt sgmltools-lite docbook-xml xmlto pcre boost jade git texinfo&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Arch Linux the install command is in /bin/install. Since most of Linux distribution assume that install is located in /usr/bin/install, you have to create a symlink:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ln -s /bin/install /usr/bin/install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can build BitBake by using this PKGBUILD:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
pkgname=bitbake&lt;br /&gt;
pkgver=1.8.4&lt;br /&gt;
pkgrel=1&lt;br /&gt;
pkgdesc=&amp;quot;A simple tool for task execution derived from Gentoo&#039;s portage&amp;quot;&lt;br /&gt;
url=&amp;quot;http://developer.berlios.de/projects/bitbake/&amp;quot;&lt;br /&gt;
arch=(&#039;i686&#039;)&lt;br /&gt;
license=(&#039;GPL&#039; &#039;custom&#039;)&lt;br /&gt;
depends=(&#039;python&#039;)&lt;br /&gt;
source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)&lt;br /&gt;
md5sums=(&#039;508d9a61c635d469be8facc95151158b&#039;)&lt;br /&gt;
&lt;br /&gt;
build() {&lt;br /&gt;
  cd ${startdir}/src/${pkgname}-${pkgver}&lt;br /&gt;
  python setup.py install --root=${startdir}/pkg&lt;br /&gt;
&lt;br /&gt;
  # Install vim extensions&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/ftplugin/bitbake.vim&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \&lt;br /&gt;
                ${startdir}/pkg/usr/share/vim/syntax/bitbake.vim&lt;br /&gt;
&lt;br /&gt;
  # Handle MIT license&lt;br /&gt;
  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/doc/COPYING.MIT \&lt;br /&gt;
                ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING.MIT&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on FreeBSD and other NON Linux Systems =&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
== FreeBSD  ==&lt;br /&gt;
&lt;br /&gt;
* Python == /usr/ports/lang/python&lt;br /&gt;
* GNU Patch == /usr/ports/devel/patch&lt;br /&gt;
* GNU m4 == /usr/ports/devel/m4&lt;br /&gt;
* GNU make == /usr/ports/devel/gmake&lt;br /&gt;
* wget == /usr/ports/ftp/wget&lt;br /&gt;
* Psyco JIT Compiler == /usr/ports/devel/py-psyco&lt;br /&gt;
* ccache == /usr/ports/devel/ccache&lt;br /&gt;
* GNU sed == /usr/ports/textproc/gsed&lt;br /&gt;
* Bison == /usr/ports/devel/bison&lt;br /&gt;
* GCC 2.95.3 == /usr/ports/lang/gcc295&lt;br /&gt;
* bc == already in FreeBSD&lt;br /&gt;
* PyQt == /usr/ports/x11-toolkits/py-qt&lt;br /&gt;
* glibc headers (ignore)&lt;br /&gt;
* subversion == /usr/ports/devel/subversion&lt;br /&gt;
* git == /usr/ports/devel/git&lt;br /&gt;
* pcre == /usr/ports/devel/pcre&lt;br /&gt;
&lt;br /&gt;
Ports has also has these: fileutils, jade, docbook, dsssl-docbook-modular, sgmltools&lt;br /&gt;
&lt;br /&gt;
== Using OpenEmbedded on Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
By default OS X uses a filesystem that is &#039;&#039;&#039;not&#039;&#039;&#039; case sensitive. You need to ensure that at least your tmp directory is on a case sensitive filesystem or you may come across various packages that break, including the Linux kernel!&lt;br /&gt;
&lt;br /&gt;
to be done, maybe there is some information in the [http://oe.linuxtog.org/wiki old wiki]&lt;br /&gt;
&lt;br /&gt;
= Using OpenEmbedded on Windows/Cygwin Systems =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building Openembedded on Windows is currently unsupported, but [http://oe.linuxtogo.org/wiki/BuildOnCygwin work is in progress] to support buidling of meta-toolchain.bb on Windows/Cygwin hosts.&lt;/div&gt;</summary>
		<author><name>Timtim</name></author>
	</entry>
</feed>