[yocto] how to build boost_python module

Gary Thomas gary at mlbassoc.com
Wed Apr 1 13:28:42 PDT 2015


On 2015-04-01 14:08, Andy Falanga (afalanga) wrote:
> Hi,
>
> I'm truly new to embedded systems development so please forgive my ignorance.  I'm working on building an embedded Linux image (of course).  In order to build the software that I'm interested to build for this ARM system (Zynq zc706), I need to build the python interpreter and the Boost libraries.  I've found recipes for these in the system and have used Hob to try to make this happen.  Thus far, no matter what I've tried, I don't see boost_python built.  Currently, in the Hob interface, I'm selecting packages to build into the image and boost-python isn't listed.  The boost.inc file in /opt/yocto/poky-dizzy-12.0.1/meta/recipes-support/boost shows logic to build boost-python.  Since python is being built into this image, shouldn't this package have been built too?
>
> The question is a simple one, how do I get the build to make boost-python?  It's made all of the others I need for my own library: boost-thread, boost-regex, boost-filesystem, etc.  I just can't get it to build boost-python.
>

This feature is controlled by package config in the boost recipe.

Adding this line to your local.conf should get it built.
   PACKAGECONFIG_pn-boost = "python"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list