Re: [yocto] PERL5LIB not properly reflecting target_sdk_dir

2014-11-02 Thread Joseph Andrew de la Peña
Good day Wolfgang,

Thank you for helping me with this. I have seen the bug report. Hopefully
we get a resolution soon.

- Joseph

On Mon, Oct 27, 2014 at 4:07 PM, Wolfgang Denk  wrote:

> Dear Joseph Andrew de la Peña,
>
> In message <
> cajrrhk4q_bnrv2g1kup9btjj9gvmufkmsltmbx8k5hmp7me...@mail.gmail.com> you
> wrote:
> >
> > anyone?
>
> I confirm the problem.
>
> > > I have seen a problem in SDK installation where PERL5LIB does not
> reflect
> > > vendor_perl location.
> > > I have specified SDK installtion path as /bonus/scratch/sdk. Yet when I
> > > executed -V no vendor_perl is included in PERL5LIB.
>
> To be more precise, PERL5LIB is not set in the environment, and the
> installation routine cannot fix the built-in strings in the perl
> binary.
>
> > > @INC:
> > > /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> > > /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl
> > > /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> > >
> > >
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/site_perl/5.14.3/
> > >
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/site_perl/5.14.3
> > >
> > >
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/vendor_perl/5.14.3/
> > >
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/vendor_perl/5.14.3
> > > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3/
> > > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> > > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
>
> As you can see, even though you install into a non-standard directory
> (/bonus/scratch/sdk), perl still references the built-in path
> (/opt/sdk/...).
>
> The problem is present in all versions of Yocto, up to and including
> the upcoming 1.7.
>
> I've opened a bug for it, see
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6890
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
> "You know, after a woman's raised a family and so on,  she  wants  to
> start living her own life."   "Whose life she's _been_ living, then?"
>   - Terry Pratchett, _Witches Abroad_
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] PERL5LIB not properly reflecting target_sdk_dir

2014-10-27 Thread Wolfgang Denk
Dear Joseph Andrew de la Peña,

In message  
you wrote:
> 
> anyone?

I confirm the problem.

> > I have seen a problem in SDK installation where PERL5LIB does not reflect
> > vendor_perl location.
> > I have specified SDK installtion path as /bonus/scratch/sdk. Yet when I
> > executed -V no vendor_perl is included in PERL5LIB.

To be more precise, PERL5LIB is not set in the environment, and the
installation routine cannot fix the built-in strings in the perl
binary.

> > @INC:
> > /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> > /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl
> > /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> >
> > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/site_perl/5.14.3/
> > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/site_perl/5.14.3
> >
> > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/vendor_perl/5.14.3/
> > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/vendor_perl/5.14.3
> > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3/
> > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> > /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3

As you can see, even though you install into a non-standard directory
(/bonus/scratch/sdk), perl still references the built-in path
(/opt/sdk/...).

The problem is present in all versions of Yocto, up to and including
the upcoming 1.7.

I've opened a bug for it, see
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6890

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"You know, after a woman's raised a family and so on,  she  wants  to
start living her own life."   "Whose life she's _been_ living, then?"
  - Terry Pratchett, _Witches Abroad_
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] PERL5LIB not properly reflecting target_sdk_dir

2014-10-07 Thread Joseph Andrew de la Peña
anyone?

On Fri, Oct 3, 2014 at 4:33 PM, Joseph Andrew de la Peña <
jdelap...@lexmark.com> wrote:

> Good day Yocto Dev community,
>
>
> I have seen a problem in SDK installation where PERL5LIB does not reflect
> vendor_perl location.
> I have specified SDK installtion path as /bonus/scratch/sdk. Yet when I
> executed -V no vendor_perl is included in PERL5LIB.
>
> perl -V
>
> @INC:
> /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl
> /bonus/scratch/sdk/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
>
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/site_perl/5.14.3/
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/site_perl/5.14.3
>
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/vendor_perl/5.14.3/
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/vendor_perl/5.14.3
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3/
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
> /opt/sdk/1.5.1/sysroots/i686-pokysdk-linux//usr/lib/perl/5.14.3
>
>
> Can someone shed some light on how to include target sdk path's
> vendor_perl for @INC? I'm expecting just like the default sdk installation
> path, it included vendor_perl and site_perl in the PERL5LIB.
>
>
> Thanks,
> Joseph
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto