All of lore.kernel.org
 help / color / mirror / Atom feed
* How to install sys module for python via poky
@ 2012-08-21 13:34 Sparsh Wid hope
  0 siblings, 0 replies; only message in thread
From: Sparsh Wid hope @ 2012-08-21 13:34 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 3078 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-21 13:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-21 13:34 How to install sys module for python via poky Sparsh Wid hope

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.