[OE-core] [PATCH 1/2] shared-mime-info, avahi, polkit: inherit perlnative
Khem Raj
raj.khem at gmail.com
Tue Aug 9 02:12:51 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/08/2011 04:24 PM, Richard Purdie wrote:
> On Sun, 2011-08-07 at 23:14 -0700, Khem Raj wrote:
>> Otherwise we end up with configure errors like below
>>
>> | checking for perl... /usr/bin/perl | checking for perl >=
>> 5.8.1... 5.12.4 | checking for XML::Parser... configure: error:
>> XML::Parser perl module is required for intltool | + bbfatal
>> 'oe_runconf failed' | + echo 'ERROR: oe_runconf failed' | ERROR:
>> oe_runconf failed
>>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>
> We really need to tweak intltool's m4 file so we don't need to add
> in this ton of dependencies unnecessarily...
>
intltool.m4 uses
AC_PATH_PROG(INTLTOOL_PERL,perl)
if test -z "$INTLTOOL_PERL"; then
AC_MSG_ERROR([perl not found])
fi
its using AC_PATH_PROG to find perl which is quite right I think.
We somehow have to make sure that the path to perl-native
is added into environment which does not happen unless
we inherit perlnative as of now. and perlnative class is
PATH_prepend = "${STAGING_BINDIR_NATIVE}/perl-native:"
DEPENDS += "perl -native"
are you proposing that we hardcode path to perl-native in intltool
macros and assume that perl-native is already built ? or something else
> Cheers,
>
> Richard
>
>
> _______________________________________________ Openembedded-core
> mailing list Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
- --
>
- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk5Al6MACgkQuwUzVZGdMxTdLQCcCEgIWU2zgB5MZ6W2TMItR4ts
cHoAnR9D/n1wTbSjRWWRBzZiO/OxU08i
=tD34
-----END PGP SIGNATURE-----
More information about the Openembedded-core
mailing list