[OE-core] [PATCH 4/8] mc: set ac_cv_path_PERL to /usr/bin/perl

Robert Yang liezhi.yang at windriver.com
Wed Mar 15 02:14:11 UTC 2017



On 03/14/2017 08:10 PM, Burton, Ross wrote:
>
> On 14 March 2017 at 12:06, Burton, Ross <ross.burton at intel.com
> <mailto:ross.burton at intel.com>> wrote:
>
>     On 14 March 2017 at 08:45, Robert Yang <liezhi.yang at windriver.com
>     <mailto:liezhi.yang at windriver.com>> wrote:
>
>         +CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"
>
>
>     Would it be sensible to put this in autotools.bbclass?
>
>
> Hang on.  ac_cv_path_PERL is the result of AC_PATH_PROG(perl) which is the path
> to the perl on the host.  Is mc using this path only for writing the hashbang
> into scripts?  If it tries to execute the path on the build host then there's
> several ways this can fail (perl in /usr/local or with buildtools).

Hi Ross,

The automake and autoconf had already set this:

CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"

So I set it for mc referred to them, should we use "#!/usr/bin/env perl" here ?

// Robert

>
> Ross
>



More information about the Openembedded-core mailing list