[yocto] Adding dependency for rrdtool-perl to recipe

Burton, Ross ross.burton at intel.com
Wed Jul 13 02:39:25 PDT 2016


On 13 July 2016 at 08:37, Christian Fuchs <christian.fuchs at fos4x.de> wrote:

> From the error message I guess that the perl library for RRD is missing in
> sysroot. The library is built as part of the rrdtool recipe, but it is
> moved to a separate package called "rrdtool-perl". How can I tell bitbake
> to install this package before building my recipe?
>

If you want to actually use the perl module that rrdtool built, then
DEPENDS=rrdtool is right (you depend on recipes, not packages) but you'll
also need to inherit nativeperl so the sysroot perl is used instead of the
host perl.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160713/a3789130/attachment.html>


More information about the yocto mailing list