[yocto] Trying to add a recipe for ROOT

Khem Raj raj.khem at gmail.com
Wed Dec 30 10:34:12 PST 2015


On Wed, Dec 30, 2015 at 10:27 AM, Giordon Stark <kratsg at gmail.com> wrote:
> I'll look at pkg-config examples. How do I fix the llvm issue though? I
> don't know enough about bitbake to fix that.

disable, internal build _somehow_
then add DEPENDS += "llvm3" to recipe
>
> Giordon
>
> On Wed, Dec 30, 2015 at 1:26 PM Khem Raj <raj.khem at gmail.com> wrote:
>>
>> you mostly have one of these issues
>>
>> | ERROR:
>> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>> should not be used, use an alternative such as pkg-config
>> | ERROR:
>> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>> should not be used, use an alternative such as pkg-config
>> | ERROR:
>> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>> should not be used, use an alternative such as pkg-config
>> | ERROR:
>> /home/osboxes/poky/build/tmp/sysroots/i686-linux/usr/bin/pcre-config
>> should not be used, use an alternative such as pkg-config
>>
>> so you need to replace the use of pcre-config with pkg-config, there
>> are example how it has been done for some other recipes in OE
>>
>> second problem seems to be that its trying to compile its own version
>> of llvm and thats failing because the native compiler its finding does
>> not support c++11 or atleast the config tests think that way. Again
>> this components build system needs to fix that. You might be better
>> off using llvm provided bt meta-oe instead of internal version.
>>
>> On Wed, Dec 30, 2015 at 9:35 AM, Giordon Stark <kratsg at gmail.com> wrote:
>> > https://gist.github.com/anonymous/adec2839deecce33702a
>> >
>> > Giordon
>> >
>> > On Wed, Dec 23, 2015 at 9:25 PM Khem Raj <raj.khem at gmail.com> wrote:
>> >>
>> >> can you post output of root/6.04.12-r0/build/CMakeFiles/CMakeError.log
>> >>
>> >> On Wed, Dec 9, 2015 at 12:00 PM, Giordon Stark <kratsg at gmail.com>
>> >> wrote:
>> >> > Hi all,
>> >> >
>> >> > I'm trying to add a recipe for ROOT (from CERN) but I'm running into
>> >> > various
>> >> > issues with just trying to get compilers working.
>> >> >
>> >> > Current recipe:
>> >> >
>> >> >
>> >> > https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/root/root_6.04.12.bb
>> >> >
>> >> > Current log: https://gist.github.com/kratsg/cd3184a167676eb69067
>> >> >
>> >> > Note that the goal is to have the bare-minimum with PyROOT (enable
>> >> > python
>> >> > support). So I'm following:
>> >> > - https://root.cern.ch/building-root
>> >> > - https://root.cern.ch/build-prerequisites
>> >> >
>> >> > Thanks,
>> >> >
>> >> > Giordon
>> >> >
>> >> > --
>> >> > _______________________________________________
>> >> > yocto mailing list
>> >> > yocto at yoctoproject.org
>> >> > https://lists.yoctoproject.org/listinfo/yocto
>> >> >



More information about the yocto mailing list