[OE-core] The native perl's path is not in PATH

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jun 29 11:32:09 UTC 2012


On Fri, 2012-06-29 at 17:36 +0800, Robert Yang wrote:
> The native perl is installed to:
> 
> ${STAGING_BINDIR_NATIVE}/perl-native/perl
> 
> But this isn't in the PATH, so we can use the native perl
> by the command "perl" or "#!/usr/bin/env perl".
> 
> I wonder why we install the perl to ${STAGING_BINDIR_NATIVE}/perl-native,
> but not to ${STAGING_BINDIR_NATIVE}.
> 
> It would be good if we can add ${STAGING_BINDIR_NATIVE}/perl-native to the path
> or install the native perl to ${STAGING_BINDIR_NATIVE}, I will send a patch
> for it if you are ok with it.

No, this is very deliberately not in PATH by default. Please see the
mailing list archives and the original patches that implemented this to
understand why.

Such a patch will not be accepted.

What problem are you trying to fix?

Cheers,

Richard






More information about the Openembedded-core mailing list