[oe] [PATCH V4] rrdtool: enable perl and python bindings

Chong Lu Chong.Lu at windriver.com
Fri Apr 25 01:21:44 UTC 2014


On 04/24/2014 05:51 PM, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chong Lu schreef op 24-04-14 09:14:
>> 1. default enable perl and python bindings 2. rrdtool uses perl.real,
>> perl.real doesn't know where the PERL5LIB should be when prebuilts are
>> used. Use the wrapper perl instead, perl sets PERL5LIB and invokes
>> perl.real 3. While using dash as /bin/sh, subsequent commands in
>> functions will not use the environment variables passed to the function
>> call line unless explicitly run "export ENV_VAR". 4. delete unrecognized
>> options: "--enable-local-libpng" and "--enable-local-zlib"
>>
>> Signed-off-by: Chong Lu <Chong.Lu at windriver.com> ---
>> +DESCRIPTION_${PN}-perl = \ +"The ${PN}-perl package includes RRDtool
>> bindings for perl." +FILES_${PN}-perl =
>> "${libdir}/perl/vendor_perl/*/*.pm ${datadir}/${PN}/examples \ +
>> ${libdir}/perl/vendor_perl/*/auto/RRDs/RRDs.*" +RDEPENDS_${PN}-perl =
>> "perl perl-module-lib perl-module-getopt-long perl-module-time-hires \ +
>> perl-module-io-file perl-module-ipc-open2 perl-module-io-socket"
>> +RPROVIDES_${PN} += "${PN}-perl"
> Why do you need RPROVIDES?
>
>
>> + +DESCRIPTION_${PN}-python = \ +"The ${PN}-python package includes
>> RRDtool bindings for python." +FILES_${PN}-python =
>> "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
>> +RDEPENDS_${PN}-python = "python" +RPROVIDES_${PN} += "${PN}-python"
> Why do you need RPROVIDES?
If I put rrdtool-python into image.
I got following errors when I built image.
     Nothing RPROVIDES 'rrdtool-python'
So, I added RPROVIDES.

Best Regards
Chong
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> Comment: GPGTools - http://gpgtools.org
>
> iD8DBQFTWN6ZMkyGM64RGpERAiAuAKCSrfa70haQRDE5fE8JNW4ggq280gCeP1Va
> ZhT7mk+HdHXQQXu7MKk17jw=
> =QukM
> -----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list