[yocto] Adding dependency for rrdtool-perl to recipe

Christian Fuchs christian.fuchs at fos4x.de
Wed Jul 13 05:18:01 PDT 2016


Thank you. After adding inherit perlnative the library is found.

Regards,
Christian

Am 13.07.2016 um 11:39 schrieb Burton, Ross:
>
> On 13 July 2016 at 08:37, Christian Fuchs <christian.fuchs at fos4x.de 
> <mailto: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

-- 
Christian Fuchs, M.Sc. - Software-Developer
fos4X GmbH - www.fos4x.de - T +49 89 999 542 15 - F +49 89 999 542 01
Thalkirchner Str. 210, Geb. 6 - D-81371 München; AG München HRB 189 218
Managing Directors: Dr. Lars Hoffmann, Dr. Mathias Müller




More information about the yocto mailing list