Poky/GettingStarted/Dependencies: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(→‎Fedora: update Fedora deps)
(→‎CentOS: mention EPEL for git, etc)
Line 23: Line 23:
/opt/poky/sysroots/i586-pokysdk-linux/usr/bin/python
/opt/poky/sysroots/i586-pokysdk-linux/usr/bin/python


Next you will need to install the required package dependencies:
Next you will need to install the required package dependencies, some of these are not available in CentOS 5.x systems so you will need to add the Fedora Extra Packages for Enterprise Linux (EPEL) yum repositories https://fedoraproject.org/wiki/EPEL:


yum groupinstall "Development Tools"
yum groupinstall "Development Tools"

Revision as of 22:41, 19 July 2011

Fedora

To run Poky on Fedora (tested on F13 and F14) you will need to install the following dependencies:

yum install patch gcc gcc-c++ texinfo wget diffstat texi2html makeinfo cvs svn mercurial chrpath git help2man

If you want to build qemu you will also need

yum install SDL-devel mesa-libGLU-devel mesa-libGL-devel

CentOS

To run Poky on CentOS (tested on CentOS 5.5) you will need to follow several steps.

Firstly, Poky requires a more recent (2.6) version of Python than is shipped with CentOS. To enable use of Poky in a non-intrusive manner the Yocto project provides a standalone Python tarball.

Grab the appropriate python-nativesdk-standalone from http://autobuilder.yoctoproject.org/downloads/miscsupport/

Add the python directory to your PATH; /opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/python or /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/python

Next you will need to install the required package dependencies, some of these are not available in CentOS 5.x systems so you will need to add the Fedora Extra Packages for Enterprise Linux (EPEL) yum repositories https://fedoraproject.org/wiki/EPEL:

yum groupinstall "Development Tools"

yum install patch diffstat texi2html texinfo cvs subversion hg chrpath git help2man wget

If you want to use qemu you will also need:

yum install SDL-devel mesa-libGL-devel mesa-libGLU-devel

Finally CentOS on x86_64 hosts includes 32bit glibc, Poky will try and build various tools with both 32bit and 64bit compatability. You can either enable this to proceed by installing the headers for 32bit glibc: yum install glibc-devel.i386 or alternatively you can disable the 32bit library support by adding NO32LIBS = "1" in your local.conf