The do_configure failed with autoconf 2.71
...
configure: error: cannot find required auxiliary files: compile missing
...

Run libtoolize with option --install to copy missing auxiliary files
and manually copy the others could workaround the failure

Signed-off-by: Hongxu Jia <hongxu....@windriver.com>
---
 meta-oe/recipes-support/openldap/openldap_2.4.57.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.57.bb 
b/meta-oe/recipes-support/openldap/openldap_2.4.57.bb
index a282523a3..b2a766614 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.57.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.57.bb
@@ -151,10 +151,12 @@ CPPFLAGS_append = " -D_GNU_SOURCE 
-DURANDOM_DEVICE=\'/dev/urandom\' -fPIC"
 LDFLAGS_append = " -pthread"
 
 do_configure() {
-    cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/ltmain.sh ${S}/build
     rm -f ${S}/libtool
     aclocal
-    libtoolize --force --copy
+    libtoolize --force --copy --install
+    for f in compile missing; do
+        cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/$f ${S}/build
+    done
     gnu-configize
     autoconf
     oe_runconf
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#89393): 
https://lists.openembedded.org/g/openembedded-devel/message/89393
Mute This Topic: https://lists.openembedded.org/mt/80449587/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to