XBMC build for Raspberry Pi
Ok, so I'm delving in a little over my head here but you've got to start somewhere, right ;)
I'm trying to build XBMC for the Raspberry Pi and have run into the following error which I don't know how to fix:
configure: error: in `/home/jack/Projects/poky-rasp/raspberry/tmp/work/armv6-vfp-poky-linux-gnueabi/xbmc-11.0-r14+gitr1+5ea1d22052f4b6a13a10b1f2e80c90abfcd6023b/git':
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.
============================================================================
Adding python-dev to DEPENDS seems to be a bit extreme, or is there another way around this?
Cheers,
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer http://www.embed.me.uk --
Quoted 22 lines · Jack Mitchell
Ok, so I'm delving in a little over my head here but you've got to start somewhere, right ;)
I'm trying to build XBMC for the Raspberry Pi and have run into the following error which I don't know how to fix:
configure: error: in `/home/jack/Projects/poky-rasp/raspberry/tmp/work/armv6-vfp-poky-linux-gnueabi/xbmc-11.0-r14+gitr1+5ea1d22052f4b6a13a10b1f2e80c90abfcd6023b/git':
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.
============================================================================
Quoted 4 lines
Adding python-dev to DEPENDS seems to be a bit extreme, or is there another way around this?
Cheers,
Some more on this is that it seems to be picking up the host paths, rather than OE's.
My config.log is here: http://pastebin.com/7Um2J1kv
as you can see the PYTHON variables are all wrong. I tried adding:
PYTHON = "${libdir}${PYTHON_DIR}"
PYTHON_SITE_PACKAGE= "${PYTHON_SITEPACKAGES_DIR}"PYTHON_LDFLAGS = "-L${libdir} -l${PYTHON_DIR}"
To the recipe but it didn't help. Has anyone any experience in this?
Cheers,
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer http://www.embed.me.uk --
Quoted 7 lines · Jack Mitchell
Some more on this is that it seems to be picking up the host paths, rather than OE's.
My config.log is here: http://pastebin.com/7Um2J1kv
as you can see the PYTHON variables are all wrong. I tried adding:
Quoted 7 lines
PYTHON = "${libdir}${PYTHON_DIR}"
PYTHON_SITE_PACKAGE= "${PYTHON_SITEPACKAGES_DIR}"PYTHON_LDFLAGS= "-L${libdir} -l${PYTHON_DIR}"To the recipe but it didn't help. Has anyone any experience in this?
Cheers,
Did you inherit the right python class?
Bye Henning
Quoted 15 lines · Henning Heinold
Quoted 7 lines · Jack Mitchell
Some more on this is that it seems to be picking up the host paths, rather than OE's.
My config.log is here: http://pastebin.com/7Um2J1kv
as you can see the PYTHON variables are all wrong. I tried adding:
Quoted 7 lines
PYTHON = "${libdir}${PYTHON_DIR}"
PYTHON_SITE_PACKAGE= "${PYTHON_SITEPACKAGES_DIR}"PYTHON_LDFLAGS= "-L${libdir} -l${PYTHON_DIR}"To the recipe but it didn't help. Has anyone any experience in this?
Cheers,
Quoted 8 lines
Did you inherit the right python class?
Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
The recipe is the one currently in meta-oe/meta-multimedia/recipe-multimedia/xbmc, it inherits python-dir, is that the right class?
Regards,
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer http://www.embed.me.uk --