Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

Python related error while compiling xbmc

$
0
0
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 = "1f2e1abbe2726ea6fc83e83b644ce7ee32a54fa2"
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/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... -I/home/sct/xbmc_final/test/xbmc_11jul/poky_xbmc_09Mar2012/build/tmp/sysroots/i586-poky-linux/usr/include/python2.6
| checking for Python library path... -L/usr/lib -lpython2.6
| checking for Python site-packages path... /home/sct/xbmc_final/test/xbmc_11jul/poky_xbmc_09Mar2012/build/tmp/sysroots/i586-poky-linux/usr/lib/python2.6/site-packages
| checking python extra libraries... -lpthread -ldl -lpthread -lutil
| checking python extra linking flags... -Xlinker -export-dynamic
| 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.15630 for further information)
NOTE: package xbmc-11.1-r0: task do_configure: Failed
ERROR: Task 705 (/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 problem.
Thanks in advance

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>