[OE-core] [PATCH v2 2/3] apr: Fix configure error for nativesdk

Robert Yang liezhi.yang at windriver.com
Thu Sep 26 05:51:08 UTC 2019


Hi Khem,

On 9/26/19 10:57 AM, Khem Raj wrote:
> On Wed, Sep 25, 2019 at 7:52 PM Robert Yang <liezhi.yang at windriver.com> wrote:
>>
>> Fixed:
>> $ bitbake nativesdk-apr
>> buildconf: libtool not found.
>>             You need libtool version 1.4 or newer installed
>>
>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>> ---
>>   meta/recipes-support/apr/apr_1.7.0.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-support/apr/apr_1.7.0.bb b/meta/recipes-support/apr/apr_1.7.0.bb
>> index 09a65bf..a9d98be 100644
>> --- a/meta/recipes-support/apr/apr_1.7.0.bb
>> +++ b/meta/recipes-support/apr/apr_1.7.0.bb
>> @@ -1,7 +1,7 @@
>>   SUMMARY = "Apache Portable Runtime (APR) library"
>>   HOMEPAGE = "http://apr.apache.org/"
>>   SECTION = "libs"
>> -DEPENDS = "util-linux"
>> +DEPENDS = "util-linux libtool"
> 
> hmmm packages usually need libtoolize so please check if thats the
> case or maybe patch apr to
> do so., thereafter you can just DEPEND on libtool-cross

In do_configure:

libtool='${HOST_SYS}-libtool' ./buildconf

So it requires libtool which is x86_64-pokysdk-linux-libtool when build 
nativesdk-apr. The libtool-cross is already in default depends, and it
doesn't work when build nativesdk-apr, so I added libtool to the DEPENDS.

// Robert

> 
>>
>>   LICENSE = "Apache-2.0"
>>   LIC_FILES_CHKSUM = "file://LICENSE;md5=4dfd4cd216828c8cae5de5a12f3844c8 \
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 


More information about the Openembedded-core mailing list