mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Compile package with Python
@ 2013-04-26  8:45 Bjorn Stuyck
  0 siblings, 0 replies; only message in thread
From: Bjorn Stuyck @ 2013-04-26  8:45 UTC (permalink / raw)
  To: ptxdist


Hi,

In my current project I am integrating the onboard virtual keyboard into ptxdist.
This is my first challenge with ptxdist so my knowledge of ptxdist is not quite good yet.

But I’m stuck on the next issue.

Onboard is compiled through python calling setup.py build.
The .install step uses the CROSS_PYTHON for executing the setup.py.

CROSS_PYTHON = sysroot-cross/bin/python2.6

Setup.py requires python-distultils-extra and python-setuptools which I successfully implemented at host side.
After the installation of those modules, setup.py continued and printed other requirements.
The next requirements were dconf and GTK+ dependencies which where already implemented at target side.

But when the script tries to get the pkg version it can’t find the dconf or GTK+ package versions.
Those package descriptions are found in the sysroot-target/usr/lib/pkgconfig directory.
But python is looking at sysroot-host for the pkgconfig dir which does not contain the approriate information.

So the script fails and stops because it can’t find the pkgversions.

Is there any documentation or an example of how to redirect python to the target libs?

Kind regards,

		
Bjorn Stuyck
Software Engineer
___________________________________________________________
 
Sioux. Source of your Technology
Technical Software | Electronics | Industrial Mathematics | Remote Solutions
 
Sioux Embedded Systems N.V. I Welvaartstraat 14-1 bus 5 I  B-2200 Herentals I Franklin Rooseveltlaan 348/J |  B-9000 Gent | Belgium
I bjorn.stuyck@sioux.eu I www.sioux.eu
-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

only message in thread, other threads:[~2013-04-26  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26  8:45 [ptxdist] Compile package with Python Bjorn Stuyck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox