[poky] How to install sys module for python via poky

Sparsh Wid hope sparsh150847 at yahoo.com
Tue Aug 21 06:34:08 PDT 2012


Hi All,

I'm trying to cross-compile xbmc-11.1 on linux through poky. OE Build Configuration is given below:
BB_VERSION        = "1.11.0"
METADATA_BRANCH   = "bernard-cur"
METADATA_REVISION = "Commit:1f2e1ab"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "fishriver"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0"
TARGET_FPU        = ""

While do_configure() I got some python related error. Error log is given below:

checking for python... /home/sct/my_workspace/poky_xbmc_09Mar2012/build/tmp/sysroots/i686-linux/usr/bin/python
| checking for a version of Python >= '2.1.0'... yes
| checking for a version of Python >= 2.4... yes
| checking for the distutils Python package... yes
| checking for Python include path... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File 
"/home/sct/my_workspace/poky_xbmc_09Mar2012/build/tmp/sysroots/i686-linux/usr/lib/python2.6/distutils/sysconfig.py",
 line 22, in <module>
|     PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
| TypeError: expected a character buffer object
| 
| checking for Python library path... Traceback (most recent call last):
|   File "<stdin>", line 4, in <module>
|   File 
"/home/sct/my_workspace/poky_xbmc_09Mar2012/build/tmp/sysroots/i686-linux/usr/lib/python2.6/distutils/sysconfig.py",
 line 22, in <module>
|PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
| TypeError: expected a character buffer object
| Traceback (most recent call last):

As per my findings it seems that there is some problem in installing sys module for python. So please help me to install the sys module via poky recipe.

Thanks in Advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20120821/0f6a4ab3/attachment.html>


More information about the poky mailing list