All of lore.kernel.org
 help / color / mirror / Atom feed
* XBMC build for Raspberry Pi
@ 2012-09-05 15:12 Jack Mitchell
  2012-09-07  8:48 ` Jack Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Mitchell @ 2012-09-05 15:12 UTC (permalink / raw)
  To: openembedded-devel

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,

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: XBMC build for Raspberry Pi
  2012-09-05 15:12 XBMC build for Raspberry Pi Jack Mitchell
@ 2012-09-07  8:48 ` Jack Mitchell
  2012-09-07  9:02   ` Henning Heinold
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Mitchell @ 2012-09-07  8:48 UTC (permalink / raw)
  To: openembedded-devel

On 05/09/12 16:12, Jack Mitchell wrote:
> 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,
>

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,

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: XBMC build for Raspberry Pi
  2012-09-07  8:48 ` Jack Mitchell
@ 2012-09-07  9:02   ` Henning Heinold
  2012-09-07  9:12     ` Jack Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Heinold @ 2012-09-07  9:02 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Sep 07, 2012 at 09:48:31AM +0100, Jack Mitchell wrote:
> 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,

Did you inherit the right python class?

Bye Henning



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: XBMC build for Raspberry Pi
  2012-09-07  9:02   ` Henning Heinold
@ 2012-09-07  9:12     ` Jack Mitchell
  0 siblings, 0 replies; 4+ messages in thread
From: Jack Mitchell @ 2012-09-07  9:12 UTC (permalink / raw)
  To: openembedded-devel

On 07/09/12 10:02, Henning Heinold wrote:
> On Fri, Sep 07, 2012 at 09:48:31AM +0100, Jack Mitchell wrote:
>> 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,
> Did you inherit the right python class?
>
> Bye Henning
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 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,

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-07  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 15:12 XBMC build for Raspberry Pi Jack Mitchell
2012-09-07  8:48 ` Jack Mitchell
2012-09-07  9:02   ` Henning Heinold
2012-09-07  9:12     ` Jack Mitchell

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.