[yocto] Python version problems
Richard Purdie
rpurdie at linux.intel.com
Tue Nov 2 13:41:04 PDT 2010
Hi,
I've seen a few comments that people are struggling with the python
version Poky requires not being present in certain distros. I can now
point to one potential solution in the form of a standalone install of
python (in /opt/poky) which Poky itself can generate. I've shared
prebuilt 32 and 64 bit versions of these at:
http://autobuilder.yoctoproject.org/downloads/miscsupport/python-nativesdk-standalone-i586.tar.bz2
http://autobuilder.yoctoproject.org/downloads/miscsupport/python-nativesdk-standalone-x86_64.tar.bz2
They are not statically linked but are self contained with all the
libraries they need so should work on pretty much any Linux system.
To use them, extract as root in / and then just run:
export PATH=/opt/poky/sysroots/i586-pokysdk-linux/usr/bin/:$PATH
or
export PATH=/opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/:$PATH
before running bitbake and the version of python in these tarballs will
be used by bitbake instead.
For reference, you can generate these tarballs by running:
SDKMACHINE=i586 bitbake external-python-tarball
or
SDKMACHINE=x86_64 bitbake external-python-tarball
using Poky's master branch.
Cheers,
Richard
More information about the yocto
mailing list