[poky] xbmc compilation failed because of python library issue.

Sparsh Wid hope sparsh150847 at yahoo.com
Tue Jul 24 05:53:26 PDT 2012


Hi All,

I'm compiling xbmc on linux-10.10

Information regarding my machine is:
It was created by xbmc configure 11.0, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ /home/sct/xbmc_final/test/xbmc_11jul/poky_xbmc_09Mar2012/build/tmp/work/atom-poky-linux/xbmc-11.1-r0/xbmc/configure --build=i686-linux --host=i586-poky-linux --target=i586-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-libtool-sysroot=/home/sct/xbmc_final/test/xbmc_11jul/poky_xbmc_09Mar2012/build/tmp/sysroots/fishriver --enable-nls --enable-optimizations --disable-debug --disable-vaapi --disable-external-ffmpeg --disable-dvdcss

## --------- ##
## Platform. ##
## --------- ##

hostname = sct-Vostro-220s-Series
uname -m = i686
uname -r = 2.6.35-31-generic-pae
uname -s = Linux
uname -v = #63-Ubuntu SMP Mon Nov 28 20:48:50 UTC 2011


target platform for which I'm compiling is: Target: i586-poky-linux

It gives me some error related to python library while do_configure(). Error log is given below:

checking for python... /home/sct/xbmc_final/test/xbmc_11jul/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/xbmc_final/test/xbmc_11jul/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/xbmc_final/test/xbmc_11jul/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):
|   File "<stdin>", line 3, in <module>
|   File "/home/sct/xbmc_final/test/xbmc_11jul/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):
|   File "<string>", line 1, in <module>
|   File "/home/sct/xbmc_final/test/xbmc_11jul/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):
|   File "<string>", line 1, in <module>
|   File "/home/sct/xbmc_final/test/xbmc_11jul/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):
|   File "<string>", line 1, in <module>
|   File "/home/sct/xbmc_final/test/xbmc_11jul/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
| -L -lpython2.6
| checking for Python site-packages path... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/home/sct/xbmc_final/test/xbmc_11jul/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 python extra libraries... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/home/sct/xbmc_final/test/xbmc_11jul/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 python extra linking flags... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/home/sct/xbmc_final/test/xbmc_11jul/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 consistency of all components of python development environment... no
| configure: error: in `/home/sct/xbmc_final/test/xbmc_11jul/poky_xbmc_09Mar2012/build/tmp/work/atom-poky-linux/xbmc-11.1-r0/xbmc':
| configure: error:
|   Could not link test program to Python. Maybe the main Python library has been
|   installed in some non-standard library path. If so, pass it to configure,
|   via the LDFLAGS environment variable.
|   Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
|   ============================================================================
|    ERROR!
|    You probably have to install the development version of the Python package
|    for your distribution.  The exact name of this package varies among them.
|   ============================================================================
| 
| See `config.log' for more details.
| FATAL: oe_runconf failed
| ERROR: Function 'do_configure' failed (see /home/sct/xbmc_final/test/xbmc_11jul/poky_xbmc_09Mar2012/build/tmp/work/atom-poky-linux/xbmc-11.1-r0/temp/log.do_configure.30313 for further information)
NOTE: package xbmc-11.1-r0: task do_configure: Failed
ERROR: Task 693 (/home/sct/xbmc_final/test/xbmc_11jul/poky_xbmc_09Mar2012/meta-sct/recipes-sct/xbmc/xbmc_11.1.bb, do_configure) failed with exit code '1'

Please help me to resolve this issue.

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20120724/8e05e239/attachment.html>


More information about the poky mailing list