Openembedded Core Discussions
 help / color / mirror / Atom feed
* Some problems about nativesdk-perl
@ 2012-09-28 11:48 Kang Kai
  2012-09-28 13:19 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Kang Kai @ 2012-09-28 11:48 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

Hi Richard,

I meet 2 problems about nativesdk-perl.

First one is that nativesdk-perl-modules doesn't depends on the single 
nativesdk-perl-module-xxx which I asked you yesterday, but I still don't 
know how to fix it.
I tried to add one line to perl_5.14.2.bb:
RRECOMMENDS_perl-modules_virtclass-nativesdk += 
"nativesdk-perl-module-config"

and it will cover the original value and make nativesdk-perl-modules 
only depends on nativesdk-perl-module-config.
Doesn't "+=" work for nativesdk ?

The second issue is the latest commit for perl(Yocto commit 
876ec81c039132d07a5f3d99bae40d6154351d41) . I build meta-toolchain-gmae 
with it,
and the perl @INC path remove the 
"/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux" prefix.
Is that the right operation?

Regards,
Kai

[-- Attachment #2: Type: text/html, Size: 1233 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some problems about nativesdk-perl
  2012-09-28 11:48 Some problems about nativesdk-perl Kang Kai
@ 2012-09-28 13:19 ` Richard Purdie
  2012-09-29  6:20   ` Kang Kai
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2012-09-28 13:19 UTC (permalink / raw)
  To: Kang Kai; +Cc: openembedded-core

On Fri, 2012-09-28 at 19:48 +0800, Kang Kai wrote:
> Hi Richard,
> 
> I meet 2 problems about nativesdk-perl. 
> 
> First one is that nativesdk-perl-modules doesn't depends on the single
> nativesdk-perl-module-xxx which I asked you yesterday, but I still
> don't know how to fix it.
> I tried to add one line to perl_5.14.2.bb:
> RRECOMMENDS_perl-modules_virtclass-nativesdk +=
> "nativesdk-perl-module-config" 
> 
> and it will cover the original value and make nativesdk-perl-modules
> only depends on nativesdk-perl-module-config.
> Doesn't "+=" work for nativesdk ?

I will need to investigate this issue further to comment and I'm short
on time at the moment.

> 
> The second issue is the latest commit for perl(Yocto commit
> 876ec81c039132d07a5f3d99bae40d6154351d41) . I build
> meta-toolchain-gmae with it, 
> and the perl @INC path remove the "/opt/poky/1.2
> +snapshot/sysroots/x86_64-pokysdk-linux" prefix.
> Is that the right operation?

No, please try with the patch I just sent applied as this will hopefully
fix it.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some problems about nativesdk-perl
  2012-09-28 13:19 ` Richard Purdie
@ 2012-09-29  6:20   ` Kang Kai
  0 siblings, 0 replies; 3+ messages in thread
From: Kang Kai @ 2012-09-29  6:20 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On 2012年09月28日 21:19, Richard Purdie wrote:
> On Fri, 2012-09-28 at 19:48 +0800, Kang Kai wrote:
>> Hi Richard,
>>
>> I meet 2 problems about nativesdk-perl.
>>
>> First one is that nativesdk-perl-modules doesn't depends on the single
>> nativesdk-perl-module-xxx which I asked you yesterday, but I still
>> don't know how to fix it.
>> I tried to add one line to perl_5.14.2.bb:
>> RRECOMMENDS_perl-modules_virtclass-nativesdk +=
>> "nativesdk-perl-module-config"
>>
>> and it will cover the original value and make nativesdk-perl-modules
>> only depends on nativesdk-perl-module-config.
>> Doesn't "+=" work for nativesdk ?
> I will need to investigate this issue further to comment and I'm short
> on time at the moment.
OK. Thanks.

>
>> The second issue is the latest commit for perl(Yocto commit
>> 876ec81c039132d07a5f3d99bae40d6154351d41) . I build
>> meta-toolchain-gmae with it,
>> and the perl @INC path remove the "/opt/poky/1.2
>> +snapshot/sysroots/x86_64-pokysdk-linux" prefix.
>> Is that the right operation?
> No, please try with the patch I just sent applied as this will hopefully
> fix it.
The perl @INC path prefix for toolchain("/opt/poky/1.2+snapshot/...) has 
been added back by your patch.
But there are still one path in @INC include build environment 
directories, it seems that the dirs are compiled into libperl.so.  So 
use sed when do_packages
could not fix this issue.

Regards,
Kai

>
> Cheers,
>
> Richard
>
>




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-29  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-28 11:48 Some problems about nativesdk-perl Kang Kai
2012-09-28 13:19 ` Richard Purdie
2012-09-29  6:20   ` Kang Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox