Creating an LDTP recipe for meta-python Yocto build image
brownie313 opened this issue · 4 comments
Hi All,
I need help pakaging LDTP into a recipe that can be added to a Yocto image build.
I see that a couple of Python modules have already been packaged into recipes under meta-python
https://layers.openembedded.org/layerindex/branch/master/layer/meta-python/
Would be great to create one for LDTP and then add it to the list. Anyone have experience with Yocto recipes and able to help?
Thanks a lot in advance.
I am sorry, this is beyond my area of expertise.
So some update... i have so far been able to get ldtp to build and install successfully.
The issue now is that when i run ldtp, it complains about missing modules. Right now, i am stuck at getting the gi (gobject retroinspection) to build and install properly.
Currently, I'm working with python-pygobject-2.28.3. All modules (glib, gobject etc) build and install without problems except the gi modules. In otherwords, python-pygobject-2.28.3 will only build and install if i disable gobject-introspection. Unfortunately, disabling gobject-introspections makes ldtp thru the 'No module named gi.repository' error message.
Is there a workaround for this?
This sounds interesting, I have no knowledge on embedded system / compiling other python / gobject modules
so i have made great progress. Currently stuck with libwnck. libwnck is failing to compile because it checks to see if x11 is enabled in the distro or not. Because x11 is not enabled, it refuses to compile etc,,,
So my questions are
1, How can i work around this?
2, can ldtp run without wnck?
3, If ldtp needs wnck to run, does it also need x11 enabled in the linux distro?
Thanks in advance for your help