<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Madison</id>
	<title>Yocto Project - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Madison"/>
	<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/Special:Contributions/Madison"/>
	<updated>2026-04-10T03:49:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1407</id>
		<title>BuildingOnRHEL4</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1407"/>
		<updated>2011-04-22T17:00:57Z</updated>

		<summary type="html">&lt;p&gt;Madison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains notes on getting Yocto builds going on an RHEL 4-based build host.&lt;br /&gt;
&lt;br /&gt;
My RHEL 4 system includes these versions of packages, which appear to have some effect on builds:&lt;br /&gt;
* Kernel 2.6.9-89.0.11.EL&lt;br /&gt;
*: No KVM support installed, so cannot build qemu-native&lt;br /&gt;
*: Also causes pseudo-native build problems, due to older definition of &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt;&lt;br /&gt;
* make 3.80-7.EL4&lt;br /&gt;
*: util-linux builds fail with this version of make; need 3.81.&lt;br /&gt;
*: Tried using the make-native recipe, which provides make 3.82.  However, eglibc-initial fails in the install step when using make 3.82.&lt;br /&gt;
* gcc 3.4.6-11&lt;br /&gt;
*: Does not support the -Wno-pointer-signed option, causing prelink-native to fail to compile&lt;br /&gt;
* binutils 2.15.92.0.2-25&lt;br /&gt;
* python 2.3.4-14.7.el4_8.2&lt;br /&gt;
*: Too old a version for bitbake; needs 2.6 or 2.7&lt;br /&gt;
* coreutils 5.2.1-36.el4&lt;br /&gt;
*: The install utility in this version does not support &#039;-t&#039;, causing the linux-yocto install_perf task to fail.  Looks like support for &#039;-t&#039; was added in 5.3.&lt;br /&gt;
* glibc 2.3.4-2.43.el4_8.3&lt;br /&gt;
*: No inotify support (added in glibc 2.4), which breaks dbus-native builds&lt;br /&gt;
*: Also causes pseudo-native build problems, due to change in type of return value for &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was a 64-bit system, also (x86_64).&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
I don&#039;t have root or sudo access on my system, so I had to bootstrap the hard way, pulling source tarballs and building the following from scratch.&lt;br /&gt;
&lt;br /&gt;
# sqlite 3.7.5&lt;br /&gt;
# Python 2.7.1&lt;br /&gt;
# git 1.7.4&lt;br /&gt;
# chrpath 0.13&lt;br /&gt;
&lt;br /&gt;
No special configuration used, other than setting --prefix= to point to a directory I owned.  You must build sqlite before Python to get the sqlite Python module to build.  I ignored the failures to build other Python modules, and that seems to be OK. &lt;br /&gt;
&lt;br /&gt;
I already had a pre-built version of make 3.81 available, otherwise I would have had to build that as well.&lt;br /&gt;
&lt;br /&gt;
Now with git, chrpath, and the just-built version of python in my PATH:&lt;br /&gt;
# Fetch the poky.git sources&lt;br /&gt;
# Do the normal poky-init-build-env to set up a build directory&lt;br /&gt;
# Edit $BUILDDIR/conf/local.conf:&lt;br /&gt;
#: Remove &amp;lt;code&amp;gt;image-prelink&amp;lt;/code&amp;gt; from USER_CLASSES&lt;br /&gt;
#: Set ENABLE_BINARY_LOCALE_GENERATION to &amp;lt;code&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; (depends on qemu-native, which won&#039;t build)&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;ASSUME_PROVIDED += &amp;quot;qemu-native&amp;quot;&amp;lt;/code&amp;gt; just to be sure that qemu-native build won&#039;t be attempted&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;PATH_prepend = &amp;quot;/path/to/my/private/bin:&amp;quot;&amp;lt;/code&amp;gt; to point to where I have the tools mentioned above installed.&lt;br /&gt;
# Create an empty $BUILDDIR/conf/sanity.conf to disable the normal sanity checks on the build environment.&lt;br /&gt;
&lt;br /&gt;
Next, I added two patches:&lt;br /&gt;
* One to pseudo to account for the difference in &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One to meta/recipes-core/dbus/dbus.inc to add &amp;lt;code&amp;gt;--disable-dnotify&amp;lt;/code&amp;gt; to EXTRA_OECONF.&lt;br /&gt;
&lt;br /&gt;
Next, I built coreutils-native, and put a copy of install in my private bin directory:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;$ cp tmp/sysroots/x86_64/usr/bin/install.coreutils /path/to/my/private/bin/install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Done.&#039;&#039;&#039;  At this point, I can now build a poky-image-minimal image for qemux86, qemuarm, qemumips, or qemuppc.&lt;br /&gt;
&lt;br /&gt;
== Building a -sato image ==&lt;br /&gt;
&lt;br /&gt;
# The libcap cross-build creates a program on the build host that fails to build unless the glibc-kernheaders package is installed.  Since I didn&#039;t have that, and I don&#039;t have the privileges to install it myself, I grabbed a copy from my local yum repository and installed the headers in my private root.  I then added to my local.conf:&lt;br /&gt;
#: &amp;lt;code&amp;gt;BUILD_CFLAGS =+ &amp;quot;-isystem /path/to/my/private/include&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
# The mesa-dri configure step looks for a valid (native) Python executable by looking for &#039;python2&#039; before &#039;python&#039;.  On my system, this caused it to pick up the ancient Python in /usr/bin, since it had a &#039;python2&#039; symlink installed there, whereas the python-native build did not put one in the native sysroot.  I worked around this by creating one in the native sysroot.&lt;br /&gt;
&lt;br /&gt;
With the above additional workarounds, I was able to build a poky-image-sato image for qemux86.&lt;br /&gt;
&lt;br /&gt;
Note that this is building off the head of the bernard branch as of 22 March 2011.&lt;/div&gt;</summary>
		<author><name>Madison</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1406</id>
		<title>BuildingOnRHEL4</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1406"/>
		<updated>2011-04-22T16:37:16Z</updated>

		<summary type="html">&lt;p&gt;Madison: Added missing colon to PATH_prepend setting.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains notes on getting Yocto builds going on an RHEL 4-based build host.&lt;br /&gt;
&lt;br /&gt;
My RHEL 4 system includes these versions of packages, which appear to have some effect on builds:&lt;br /&gt;
* Kernel 2.6.9-89.0.11.EL&lt;br /&gt;
*: No KVM support installed, so cannot build qemu-native&lt;br /&gt;
*: Also causes pseudo-native build problems, due to older definition of &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt;&lt;br /&gt;
* make 3.80-7.EL4&lt;br /&gt;
*: util-linux builds fail with this version of make; need 3.81.&lt;br /&gt;
*: Tried using the make-native recipe, which provides make 3.82.  However, eglibc-initial fails in the install step when using make 3.82.&lt;br /&gt;
* gcc 3.4.6-11&lt;br /&gt;
*: Does not support the -Wno-pointer-signed option, causing prelink-native to fail to compile&lt;br /&gt;
* binutils 2.15.92.0.2-25&lt;br /&gt;
* python 2.3.4-14.7.el4_8.2&lt;br /&gt;
*: Too old a version for bitbake; needs 2.6 or 2.7&lt;br /&gt;
* coreutils 5.2.1-36.el4&lt;br /&gt;
*: The install utility in this version does not support &#039;-t&#039;, causing the linux-yocto install_perf task to fail.  Looks like support for &#039;-t&#039; was added in 5.3.&lt;br /&gt;
* glibc 2.3.4-2.43.el4_8.3&lt;br /&gt;
*: No inotify support (added in glibc 2.4), which breaks dbus-native builds&lt;br /&gt;
*: Also causes pseudo-native build problems, due to change in type of return value for &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was a 64-bit system, also (x86_64).&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
I don&#039;t have root or sudo access on my system, so I had to bootstrap the hard way, pulling source tarballs and building the following from scratch.&lt;br /&gt;
&lt;br /&gt;
# sqlite 3.7.5&lt;br /&gt;
# Python 2.7.1&lt;br /&gt;
# git 1.7.4&lt;br /&gt;
# chrpath 0.13&lt;br /&gt;
&lt;br /&gt;
No special configuration used, other than setting --prefix= to point to a directory I owned.  You must build sqlite before Python to get the sqlite Python module to build.  I ignored the failures to build other Python modules, and that seems to be OK. &lt;br /&gt;
&lt;br /&gt;
I already had a pre-built version of make 3.81 available, otherwise I would have had to build that as well.&lt;br /&gt;
&lt;br /&gt;
Now with git, chrpath, and the just-built version of python in my PATH:&lt;br /&gt;
# Fetch the poky.git sources&lt;br /&gt;
# Do the normal poky-init-build-env to set up a build directory&lt;br /&gt;
# Edit $BUILDDIR/conf/local.conf:&lt;br /&gt;
#: Remove &amp;lt;code&amp;gt;image-prelink&amp;lt;/code&amp;gt; from USER_CLASSES&lt;br /&gt;
#: Set ENABLE_BINARY_LOCALE_GENERATION to &amp;lt;code&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; (depends on qemu-native, which won&#039;t build)&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;ASSUME_PROVIDED += &amp;quot;qemu-native&amp;quot;&amp;lt;/code&amp;gt; just to be sure that qemu-native build won&#039;t be attempted&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;PATH_prepend = &amp;quot;/path/to/my/private/bin:&amp;quot;&amp;lt;/code&amp;gt; to point to where I have the tools mentioned above installed.&lt;br /&gt;
&lt;br /&gt;
Next, I added two patches:&lt;br /&gt;
* One to pseudo to account for the difference in &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One to meta/recipes-core/dbus/dbus.inc to add &amp;lt;code&amp;gt;--disable-dnotify&amp;lt;/code&amp;gt; to EXTRA_OECONF.&lt;br /&gt;
&lt;br /&gt;
Next, I built coreutils-native, and put a copy of install in my private bin directory:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;$ cp tmp/sysroots/x86_64/usr/bin/install.coreutils /path/to/my/private/bin/install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Done.&#039;&#039;&#039;  At this point, I can now build a poky-image-minimal image for qemux86, qemuarm, qemumips, or qemuppc.&lt;br /&gt;
&lt;br /&gt;
== Building a -sato image ==&lt;br /&gt;
&lt;br /&gt;
# The libcap cross-build creates a program on the build host that fails to build unless the glibc-kernheaders package is installed.  Since I didn&#039;t have that, and I don&#039;t have the privileges to install it myself, I grabbed a copy from my local yum repository and installed the headers in my private root.  I then added to my local.conf:&lt;br /&gt;
#: &amp;lt;code&amp;gt;BUILD_CFLAGS =+ &amp;quot;-isystem /path/to/my/private/include&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
# The mesa-dri configure step looks for a valid (native) Python executable by looking for &#039;python2&#039; before &#039;python&#039;.  On my system, this caused it to pick up the ancient Python in /usr/bin, since it had a &#039;python2&#039; symlink installed there, whereas the python-native build did not put one in the native sysroot.  I worked around this by creating one in the native sysroot.&lt;br /&gt;
&lt;br /&gt;
With the above additional workarounds, I was able to build a poky-image-sato image for qemux86.&lt;br /&gt;
&lt;br /&gt;
Note that this is building off the head of the bernard branch as of 22 March 2011.&lt;/div&gt;</summary>
		<author><name>Madison</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1057</id>
		<title>BuildingOnRHEL4</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1057"/>
		<updated>2011-03-29T23:28:20Z</updated>

		<summary type="html">&lt;p&gt;Madison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains notes on getting Yocto builds going on an RHEL 4-based build host.&lt;br /&gt;
&lt;br /&gt;
My RHEL 4 system includes these versions of packages, which appear to have some effect on builds:&lt;br /&gt;
* Kernel 2.6.9-89.0.11.EL&lt;br /&gt;
*: No KVM support installed, so cannot build qemu-native&lt;br /&gt;
*: Also causes pseudo-native build problems, due to older definition of &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt;&lt;br /&gt;
* make 3.80-7.EL4&lt;br /&gt;
*: util-linux builds fail with this version of make; need 3.81.&lt;br /&gt;
*: Tried using the make-native recipe, which provides make 3.82.  However, eglibc-initial fails in the install step when using make 3.82.&lt;br /&gt;
* gcc 3.4.6-11&lt;br /&gt;
*: Does not support the -Wno-pointer-signed option, causing prelink-native to fail to compile&lt;br /&gt;
* binutils 2.15.92.0.2-25&lt;br /&gt;
* python 2.3.4-14.7.el4_8.2&lt;br /&gt;
*: Too old a version for bitbake; needs 2.6 or 2.7&lt;br /&gt;
* coreutils 5.2.1-36.el4&lt;br /&gt;
*: The install utility in this version does not support &#039;-t&#039;, causing the linux-yocto install_perf task to fail.  Looks like support for &#039;-t&#039; was added in 5.3.&lt;br /&gt;
* glibc 2.3.4-2.43.el4_8.3&lt;br /&gt;
*: No inotify support (added in glibc 2.4), which breaks dbus-native builds&lt;br /&gt;
*: Also causes pseudo-native build problems, due to change in type of return value for &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was a 64-bit system, also (x86_64).&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
I don&#039;t have root or sudo access on my system, so I had to bootstrap the hard way, pulling source tarballs and building the following from scratch.&lt;br /&gt;
&lt;br /&gt;
# sqlite 3.7.5&lt;br /&gt;
# Python 2.7.1&lt;br /&gt;
# git 1.7.4&lt;br /&gt;
# chrpath 0.13&lt;br /&gt;
&lt;br /&gt;
No special configuration used, other than setting --prefix= to point to a directory I owned.  You must build sqlite before Python to get the sqlite Python module to build.  I ignored the failures to build other Python modules, and that seems to be OK. &lt;br /&gt;
&lt;br /&gt;
I already had a pre-built version of make 3.81 available, otherwise I would have had to build that as well.&lt;br /&gt;
&lt;br /&gt;
Now with git, chrpath, and the just-built version of python in my PATH:&lt;br /&gt;
# Fetch the poky.git sources&lt;br /&gt;
# Do the normal poky-init-build-env to set up a build directory&lt;br /&gt;
# Edit $BUILDDIR/conf/local.conf:&lt;br /&gt;
#: Remove &amp;lt;code&amp;gt;image-prelink&amp;lt;/code&amp;gt; from USER_CLASSES&lt;br /&gt;
#: Set ENABLE_BINARY_LOCALE_GENERATION to &amp;lt;code&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; (depends on qemu-native, which won&#039;t build)&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;ASSUME_PROVIDED += &amp;quot;qemu-native&amp;quot;&amp;lt;/code&amp;gt; just to be sure that qemu-native build won&#039;t be attempted&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;PATH_prepend = &amp;quot;/path/to/my/private/bin&amp;quot;&amp;lt;/code&amp;gt; to point to where I have the tools mentioned above installed.&lt;br /&gt;
&lt;br /&gt;
Next, I added two patches:&lt;br /&gt;
* One to pseudo to account for the difference in &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One to meta/recipes-core/dbus/dbus.inc to add &amp;lt;code&amp;gt;--disable-dnotify&amp;lt;/code&amp;gt; to EXTRA_OECONF.&lt;br /&gt;
&lt;br /&gt;
Next, I built coreutils-native, and put a copy of install in my private bin directory:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;$ cp tmp/sysroots/x86_64/usr/bin/install.coreutils /path/to/my/private/bin/install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Done.&#039;&#039;&#039;  At this point, I can now build a poky-image-minimal image for qemux86, qemuarm, qemumips, or qemuppc.&lt;br /&gt;
&lt;br /&gt;
== Building a -sato image ==&lt;br /&gt;
&lt;br /&gt;
# The libcap cross-build creates a program on the build host that fails to build unless the glibc-kernheaders package is installed.  Since I didn&#039;t have that, and I don&#039;t have the privileges to install it myself, I grabbed a copy from my local yum repository and installed the headers in my private root.  I then added to my local.conf:&lt;br /&gt;
#: &amp;lt;code&amp;gt;BUILD_CFLAGS =+ &amp;quot;-isystem /path/to/my/private/include&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
# The mesa-dri configure step looks for a valid (native) Python executable by looking for &#039;python2&#039; before &#039;python&#039;.  On my system, this caused it to pick up the ancient Python in /usr/bin, since it had a &#039;python2&#039; symlink installed there, whereas the python-native build did not put one in the native sysroot.  I worked around this by creating one in the native sysroot.&lt;br /&gt;
&lt;br /&gt;
With the above additional workarounds, I was able to build a poky-image-sato image for qemux86.&lt;br /&gt;
&lt;br /&gt;
Note that this is building off the head of the bernard branch as of 22 March 2011.&lt;/div&gt;</summary>
		<author><name>Madison</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1056</id>
		<title>BuildingOnRHEL4</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1056"/>
		<updated>2011-03-29T22:42:44Z</updated>

		<summary type="html">&lt;p&gt;Madison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains notes on getting Yocto builds going on an RHEL 4-based build host.&lt;br /&gt;
&lt;br /&gt;
My RHEL 4 system includes these versions of packages, which appear to have some effect on builds:&lt;br /&gt;
* Kernel 2.6.9-89.0.11.EL&lt;br /&gt;
*: No KVM support installed, so cannot build qemu-native&lt;br /&gt;
*: Also causes pseudo-native build problems, due to older definition of &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt;&lt;br /&gt;
* make 3.80-7.EL4&lt;br /&gt;
*: util-linux builds fail with this version of make; need 3.81.&lt;br /&gt;
*: Tried using the make-native recipe, which provides make 3.82.  However, eglibc-initial fails in the install step when using make 3.82.&lt;br /&gt;
* gcc 3.4.6-11&lt;br /&gt;
*: Does not support the -Wno-pointer-signed option, causing prelink-native to fail to compile&lt;br /&gt;
* binutils 2.15.92.0.2-25&lt;br /&gt;
* python 2.3.4-14.7.el4_8.2&lt;br /&gt;
*: Too old a version for bitbake; needs 2.6 or 2.7&lt;br /&gt;
* coreutils 5.2.1-36.el4&lt;br /&gt;
*: The install utility in this version does not support &#039;-t&#039;, causing the linux-yocto install_perf task to fail.  Looks like support for &#039;-t&#039; was added in 5.3.&lt;br /&gt;
* glibc 2.3.4-2.43.el4_8.3&lt;br /&gt;
*: No inotify support (added in glibc 2.4), which breaks dbus-native builds&lt;br /&gt;
*: Also causes pseudo-native build problems, due to change in type of return value for &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was a 64-bit system, also (x86_64).&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
I don&#039;t have root or sudo access on my system, so I had to bootstrap the hard way, pulling source tarballs and building the following from scratch.&lt;br /&gt;
&lt;br /&gt;
# sqlite 3.7.5&lt;br /&gt;
# Python 2.7.1&lt;br /&gt;
# git 1.7.4&lt;br /&gt;
# chrpath 0.13&lt;br /&gt;
&lt;br /&gt;
No special configuration used, other than setting --prefix= to point to a directory I owned.  You must build sqlite before Python to get the sqlite Python module to build.  I ignored the failures to build other Python modules, and that seems to be OK. &lt;br /&gt;
&lt;br /&gt;
I already had a pre-built version of make 3.81 available, otherwise I would have had to build that as well.&lt;br /&gt;
&lt;br /&gt;
Now with git, chrpath, and the just-built version of python in my PATH:&lt;br /&gt;
# Fetch the poky.git sources&lt;br /&gt;
# Do the normal poky-init-build-env to set up a build directory&lt;br /&gt;
# Edit $BUILDDIR/conf/local.conf:&lt;br /&gt;
#: Remove &amp;lt;code&amp;gt;image-prelink&amp;lt;/code&amp;gt; from USER_CLASSES&lt;br /&gt;
#: Set ENABLE_BINARY_LOCALE_GENERATION to &amp;lt;code&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; (depends on qemu-native, which won&#039;t build)&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;ASSUME_PROVIDED += &amp;quot;qemu-native&amp;quot;&amp;lt;/code&amp;gt; just to be sure that qemu-native build won&#039;t be attempted&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;PATH_prepend = &amp;quot;/path/to/my/private/bin&amp;quot;&amp;lt;/code&amp;gt; to point to where I have the tools mentioned above installed.&lt;br /&gt;
&lt;br /&gt;
Next, I added two patches:&lt;br /&gt;
* One to pseudo to account for the difference in &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One to meta/recipes-core/dbus/dbus.inc to add &amp;lt;code&amp;gt;--disable-dnotify&amp;lt;/code&amp;gt; to EXTRA_OECONF.&lt;br /&gt;
&lt;br /&gt;
Next, I built coreutils-native, and put a copy of install in my private bin directory:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;$ cp tmp/sysroots/x86_64/usr/bin/install.coreutils /path/to/my/private/bin/install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Done.&#039;&#039;&#039;  At this point, I can now build a poky-image-minimal image for qemux86, qemuarm, and qemuppc.&lt;br /&gt;
&lt;br /&gt;
== Building a -sato image ==&lt;br /&gt;
&lt;br /&gt;
# The libcap cross-build creates a program on the build host that fails to build unless the glibc-kernheaders package is installed.  Since I didn&#039;t have that, and I don&#039;t have the privileges to install it myself, I grabbed a copy from my local yum repository and installed the headers in my private root.  I then added to my local.conf:&lt;br /&gt;
#: &amp;lt;code&amp;gt;BUILD_CFLAGS =+ &amp;quot;-isystem /path/to/my/private/include&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
# The mesa-dri configure step looks for a valid (native) Python executable by looking for &#039;python2&#039; before &#039;python&#039;.  On my system, this caused it to pick up the ancient Python in /usr/bin, since it had a &#039;python2&#039; symlink installed there, whereas the python-native build did not put one in the native sysroot.  I worked around this by creating one in the native sysroot.&lt;br /&gt;
&lt;br /&gt;
With the above additional workarounds, I was able to build a poky-image-sato image for qemux86.&lt;br /&gt;
&lt;br /&gt;
Note that this is building off the head of the bernard branch as of 22 March 2011.&lt;/div&gt;</summary>
		<author><name>Madison</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1054</id>
		<title>BuildingOnRHEL4</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1054"/>
		<updated>2011-03-29T21:41:29Z</updated>

		<summary type="html">&lt;p&gt;Madison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains notes on getting Yocto builds going on an RHEL 4-based build host.&lt;br /&gt;
&lt;br /&gt;
My RHEL 4 system includes these versions of packages, which appear to have some effect on builds:&lt;br /&gt;
* Kernel 2.6.9-89.0.11.EL&lt;br /&gt;
*: No KVM support installed, so cannot build qemu-native&lt;br /&gt;
*: Also causes pseudo-native build problems, due to older definition of &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt;&lt;br /&gt;
* make 3.80-7.EL4&lt;br /&gt;
*: util-linux builds fail with this version of make; need 3.81.&lt;br /&gt;
*: Tried using the make-native recipe, which provides make 3.82.  However, eglibc-initial fails in the install step when using make 3.82.&lt;br /&gt;
* gcc 3.4.6-11&lt;br /&gt;
*: Does not support the -Wno-pointer-signed option, causing prelink-native to fail to compile&lt;br /&gt;
* binutils 2.15.92.0.2-25&lt;br /&gt;
* python 2.3.4-14.7.el4_8.2&lt;br /&gt;
*: Too old a version for bitbake; needs 2.6 or 2.7&lt;br /&gt;
* coreutils 5.2.1-36.el4&lt;br /&gt;
*: The install utility in this version does not support &#039;-t&#039;, causing the linux-yocto install_perf task to fail.  Looks like support for &#039;-t&#039; was added in 5.3.&lt;br /&gt;
* glibc 2.3.4-2.43.el4_8.3&lt;br /&gt;
*: No inotify support (added in glibc 2.4), which breaks dbus-native builds&lt;br /&gt;
*: Also causes pseudo-native build problems, due to change in type of return value for &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was a 64-bit system, also (x86_64).&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
I don&#039;t have root or sudo access on my system, so I had to bootstrap the hard way, pulling source tarballs and building the following from scratch.&lt;br /&gt;
&lt;br /&gt;
# sqlite 3.7.5&lt;br /&gt;
# Python 2.7.1&lt;br /&gt;
# git 1.7.4&lt;br /&gt;
# chrpath 0.13&lt;br /&gt;
&lt;br /&gt;
No special configuration used, other than setting --prefix= to point to a directory I owned.  You must build sqlite before Python to get the sqlite Python module to build.  I ignored the failures to build other Python modules, and that seems to be OK. &lt;br /&gt;
&lt;br /&gt;
I already had a pre-built version of make 3.81 available, otherwise I would have had to build that as well.&lt;br /&gt;
&lt;br /&gt;
Now with git, chrpath, and the just-built version of python in my PATH:&lt;br /&gt;
# Fetch the poky.git sources&lt;br /&gt;
# Do the normal poky-init-build-env to set up a build directory&lt;br /&gt;
# Edit $BUILDDIR/conf/local.conf:&lt;br /&gt;
#: Remove &amp;lt;code&amp;gt;image-prelink&amp;lt;/code&amp;gt; from USER_CLASSES&lt;br /&gt;
#: Set ENABLE_BINARY_LOCALE_GENERATION to &amp;lt;code&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; (depends on qemu-native, which won&#039;t build)&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;ASSUME_PROVIDED += &amp;quot;qemu-native&amp;quot;&amp;lt;/code&amp;gt; just to be sure that qemu-native build won&#039;t be attempted&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;PATH_prepend = &amp;quot;/path/to/my/private/bin&amp;quot;&amp;lt;/code&amp;gt; to point to where I have the tools mentioned above installed.&lt;br /&gt;
&lt;br /&gt;
Next, I added two patches:&lt;br /&gt;
* One to pseudo to account for the difference in &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One to meta/recipes-core/dbus/dbus.inc to add &amp;lt;code&amp;gt;--disable-dnotify&amp;lt;/code&amp;gt; to EXTRA_OECONF.&lt;br /&gt;
&lt;br /&gt;
Next, I built coreutils-native, and put a copy of install in my private bin directory:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;$ cp tmp/sysroots/x86_64/usr/bin/install.coreutils /path/to/my/private/bin/install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Done.&#039;&#039;&#039;  At this point, I can now build a poky-image-minimal image for qemux86, qemuarm, and qemuppc.&lt;br /&gt;
&lt;br /&gt;
Note that this is building off the head of the bernard branch as of 22 March 2011.&lt;/div&gt;</summary>
		<author><name>Madison</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1023</id>
		<title>BuildingOnRHEL4</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1023"/>
		<updated>2011-03-23T19:23:02Z</updated>

		<summary type="html">&lt;p&gt;Madison: Noted which branch I was using, and corrected a typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains notes on getting Yocto builds going on an RHEL 4-based build host.&lt;br /&gt;
&lt;br /&gt;
My RHEL 4 system includes these versions of packages, which appear to have some effect on builds:&lt;br /&gt;
* Kernel 2.6.9-89.0.11.EL&lt;br /&gt;
*: No KVM support installed, so cannot build qemu-native&lt;br /&gt;
*: Also causes pseudo-native build problems, due to older definition of &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt;&lt;br /&gt;
* make 3.80-7.EL4&lt;br /&gt;
*: util-linux builds fail with this version of make; need 3.81.&lt;br /&gt;
*: Tried using the make-native recipe, which provides make 3.82.  However, eglibc-initial fails in the install step when using make 3.82.&lt;br /&gt;
* gcc 3.4.6-11&lt;br /&gt;
*: Does not support the -Wno-pointer-signed option, causing prelink-native to fail to compile&lt;br /&gt;
* binutils 2.15.92.0.2-25&lt;br /&gt;
* python 2.3.4-14.7.el4_8.2&lt;br /&gt;
*: Too old a version for bitbake; needs 2.6 or 2.7&lt;br /&gt;
* coreutils 5.2.1-36.el4&lt;br /&gt;
*: The install utility in this version does not support &#039;-t&#039;, causing the linux-yocto install_perf task to fail.  Looks like support for &#039;-t&#039; was added in 5.3.&lt;br /&gt;
* glibc 2.3.4-2.43.el4_8.3&lt;br /&gt;
*: No inotify support (added in glibc 2.4), which breaks dbus-native builds&lt;br /&gt;
*: Also causes pseudo-native build problems, due to change in type of return value for &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was a 64-bit system, also (x86_64).&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
I don&#039;t have root or sudo access on my system, so I had to bootstrap the hard way, pulling source tarballs and building the following from scratch.&lt;br /&gt;
&lt;br /&gt;
# sqlite 3.7.5&lt;br /&gt;
# Python 2.7.1&lt;br /&gt;
# git 1.7.4&lt;br /&gt;
# chrpath 0.13&lt;br /&gt;
&lt;br /&gt;
No special configuration used, other than setting --prefix= to point to a directory I owned.  You must build sqlite before Python to get the sqlite Python module to build.  I ignored the failures to build other Python modules, and that seems to be OK. &lt;br /&gt;
&lt;br /&gt;
I already had a pre-built version of make 3.81 available, otherwise I would have had to build that as well.&lt;br /&gt;
&lt;br /&gt;
Now with git, chrpath, and the just-built version of python in my PATH:&lt;br /&gt;
# Fetch the poky.git sources&lt;br /&gt;
# Do the normal poky-init-build-env to set up a build directory&lt;br /&gt;
# Edit $BUILDDIR/conf/local.conf:&lt;br /&gt;
#: Remove &amp;lt;code&amp;gt;image-prelink&amp;lt;/code&amp;gt; from USER_CLASSES&lt;br /&gt;
#: Set ENABLE_BINARY_LOCALE_GENERATION to &amp;lt;code&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; (depends on qemu-native, which won&#039;t build)&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;ASSUME_PROVIDED += &amp;quot;qemu-native&amp;quot;&amp;lt;/code&amp;gt; just to be sure that qemu-native build won&#039;t be attempted&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;PATH_prepend = &amp;quot;/path/to/my/private/bin&amp;quot;&amp;lt;/code&amp;gt; to point to where I have the tools mentioned above installed.&lt;br /&gt;
&lt;br /&gt;
Next, I added two patches:&lt;br /&gt;
* One to pseudo to account for the difference in &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One to meta/recipes-core/dbus/dbus.inc to add &amp;lt;code&amp;gt;--disable-dnotify&amp;lt;/code&amp;gt; to EXTRA_OECONF.&lt;br /&gt;
&lt;br /&gt;
Next, I built coreutils-native, and put a copy of install in my private bin directory:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;$ cp tmp/sysroots/x86_64/usr/bin/install.coreutils /path/to/my/private/bin/install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Done.&#039;&#039;&#039;  At this point, I can now build a poky-image-minimal image using the default qemux86 target.  I will update this page further if I run into other issues with other builds.&lt;br /&gt;
&lt;br /&gt;
Note that this is building off the head of the bernard branch as of 22 March 2011.&lt;/div&gt;</summary>
		<author><name>Madison</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1022</id>
		<title>BuildingOnRHEL4</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BuildingOnRHEL4&amp;diff=1022"/>
		<updated>2011-03-23T19:03:32Z</updated>

		<summary type="html">&lt;p&gt;Madison: Notes on workarounds needed to build on RHEL 4&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains notes on getting Yocto builds going on an RHEL 4-based build host.&lt;br /&gt;
&lt;br /&gt;
My RHEL 4 system includes these versions of packages, which appear to have some effect on builds:&lt;br /&gt;
* Kernel 2.6.9-89.0.11.EL&lt;br /&gt;
*: No KVM support installed, so cannot build qemu-native&lt;br /&gt;
*: Also causes pseudo-native build problems, due to older definition of &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt;&lt;br /&gt;
* make 3.80-7.EL4&lt;br /&gt;
*: util-linux builds fail with this version of make; need 3.81.&lt;br /&gt;
*: Tried using the make-native recipe, which provides make 3.82.  However, eglibc-initial fails in the install step when using make 3.82.&lt;br /&gt;
* gcc 3.4.6-11&lt;br /&gt;
*: Does not support the -Wno-pointer-signed option, causing prelink-native to fail to compile&lt;br /&gt;
* binutils 2.15.92.0.2-25&lt;br /&gt;
* python 2.3.4-14.7.el4_8.2&lt;br /&gt;
*: Too old a version for bitbake; needs 2.6 or 2.7&lt;br /&gt;
* coreutils 5.2.1-36.el4&lt;br /&gt;
*: The install utility in this version does not support &#039;-t&#039;, causing the linux-yocto install_perf task to fail.  Looks like support for &#039;-t&#039; was added in 5.3.&lt;br /&gt;
* glibc 2.3.4-2.43.el4_8.3&lt;br /&gt;
*: No inotify support (added in glibc 2.4), which breaks dbus-native builds&lt;br /&gt;
*: Also causes pseudo-native build problems, due to change in type of return value for &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This was a 64-bit system, also (x86_64).&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
I don&#039;t have root or sudo access on my system, so I had to bootstrap the hard way, pulling source tarballs and building the following from scratch.&lt;br /&gt;
&lt;br /&gt;
# sqlite 3.7.5&lt;br /&gt;
# Python 2.7.1&lt;br /&gt;
# git 1.7.4&lt;br /&gt;
# chrpath 0.13&lt;br /&gt;
&lt;br /&gt;
No special configuration used, other than setting --prefix= to point to a directory I owned.  You must build sqlite before Python to get the sqlite Python module to build.  I ignored failure to build other Python modules, and that seems to be OK. &lt;br /&gt;
&lt;br /&gt;
I already had a pre-built version of make 3.81 available, otherwise I would have had to build that as well.&lt;br /&gt;
&lt;br /&gt;
Now with git, chrpath, and the just-built version of python in my PATH:&lt;br /&gt;
# Fetch the poky.git sources&lt;br /&gt;
# Do the normal poky-init-build-env to set up a build directory&lt;br /&gt;
# Edit $BUILDDIR/conf/local.conf:&lt;br /&gt;
#: Remove &amp;lt;code&amp;gt;image-prelink&amp;lt;/code&amp;gt; from USER_CLASSES&lt;br /&gt;
#: Set ENABLE_BINARY_LOCALE_GENERATION to &amp;lt;code&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; (depends on qemu-native, which won&#039;t build)&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;ASSUME_PROVIDED += &amp;quot;qemu-native&amp;quot;&amp;lt;/code&amp;gt; just to be sure that qemu-native build won&#039;t be attempted&lt;br /&gt;
#: Added &amp;lt;code&amp;gt;PATH_prepend = &amp;quot;/path/to/my/private/bin&amp;quot;&amp;lt;/code&amp;gt; to point to where I have the tools mentioned above installed.&lt;br /&gt;
&lt;br /&gt;
Next, I added two patches:&lt;br /&gt;
* One to pseudo to account for the difference in &amp;lt;code&amp;gt;clone()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;readlink()&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One to meta/recipes-core/dbus/dbus.inc to add &amp;lt;code&amp;gt;--disable-dnotify&amp;lt;/code&amp;gt; to EXTRA_OECONF.&lt;br /&gt;
&lt;br /&gt;
Next, I built coreutils-native, and put a copy of install in my private bin directory:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;$ cp tmp/sysroots/x86_64/usr/bin/install.coreutils /path/to/my/private/bin/install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Done.&#039;&#039;&#039;  At this point, I can now build a poky-image-minimal image using the default qemux86 target.  I will update this page further if I run into other issues with other builds.&lt;/div&gt;</summary>
		<author><name>Madison</name></author>
	</entry>
</feed>