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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

988 次查看
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 项奖励
回复
2 回复数

778 次查看
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 项奖励
回复

778 次查看
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 项奖励
回复