SDK LS1043 doesn't have /usr/include/.../Python.h in filesys?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK LS1043 doesn't have /usr/include/.../Python.h in filesys?

801 Views
jerrymorrow
Contributor III

Hello,

I'm trying to use buildbot on the LS1043A target.  When I install buildbot, it also grabs Twisted, which wants Python.h to build.  It couldn't find Python.h in the /usr/include anywhere.  Did a simple search (find -name "Python.h") from the root, and its nowhere to be found.

I did find Python.h in the SDK on my host PC, ./build_ls1043ardb/tmp/work/aarch64-fsl-linux/python/..../Python.h.

Is there some way to change the recipes in the SDK 2.0 (plus latest patches) to make sure the available Python.h (and other Python development related files) make it into the root filesystem?

thanks

Jerry

tlsmith3777@gmail.com‌    tracysmith

0 Kudos
2 Replies

591 Views
Pavel
NXP Employee
NXP Employee

Use recommendation from the following pages:

https://lists.yoctoproject.org/pipermail/yocto/2015-April/024373.html

or

http://stackoverflow.com/questions/38862088/how-do-i-add-more-python-modules-to-my-yocto-openembedde...


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

591 Views
jerrymorrow
Contributor III

Hello,

I added IMAGE_INSTALL_append = " python-dev" to layer.conf in ./sources/meta-openembedded/meta-python/conf

I now have the Python.h in the rootfs directory.

thanks

Jerry

0 Kudos