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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,518件の閲覧回数
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 返答(返信)

1,308件の閲覧回数
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 件の賞賛
返信

1,308件の閲覧回数
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 件の賞賛
返信