[oe] zeromq: task configure fails with `autogen.sh: error: could not find libtool.` (was: [PATCH 1/2] zeromq: Add zeromq socket library.)

Paul Menzel paulepanter at users.sourceforge.net
Thu Sep 8 10:13:28 UTC 2011


Dear Petr, dear Siddharth,


Am Dienstag, den 10.05.2011, 22:35 +0200 schrieb Petr Štetiar:
> Siddharth Heroor <heroor at gmail.com> [2011-05-10 15:04:04]:
> 
> > I tried to build it and it fails. The error is as follows -
> > 
> > ERROR: Logfile of failure stored in:
> > /swcoe/sdk/sid/arago/build-oe/angstrom-setup-scripts/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/zeromq-2.1.6-r0/temp/log.do_configure.10701
> > Log data follows:
> > | + do_configure
> > | + ./autogen.sh
> > | autogen.sh: error: could not find libtool.  libtool is required to run autogen.sh.
> > NOTE: package zeromq-2.1.6-r0: task do_configure: Failed

I do get the same error as Siddharth using `angstrom-2010.x` for
`MACHINE = "beagleboard"`.

> Hm sorry, but this is strange. I don't know why it shoudln't find libtool...
> Log here:
> 
> 	+ cd /opt/devel/oe/ts72xx-test/tmp-uclibc-angstrom-2010.x/work/armv4t-angstrom-linux-uclibceabi/zeromq-2.1.6-r0/zeromq-2.1.6
> 	+ do_configure
> 	+ ./autogen.sh
> 	autoreconf: Entering directory `.'
> 	autoreconf: configure.in: not using Gettext
> 	autoreconf: running: aclocal -I config -I config --force -I config
> 	...

Are you sure it is not using `libtool` installed on your build system?

> > By removing do_configure_prepend() from the recipe, I am able to build zeromq.
> > Why do we need to run autogen.sh to regenerate the configure script?
> > Won't the shipped configure work?
> 
> It apparently wasn't working quite correctly in some scenario, that's why it's
> there. Maybe automake or something was complaining about the shipped version
> of the macros? Sorry, I don't remember it correctly now, but it was tested by
> Craig also, so I've pushed it as it is.
> 
> Anyone with the better knowledge of the autofoo stuff, who could shed some
> light on this?

Maybe Ilya who submitted a patch to upgrade the recipe to 2.1.6 has an
idea?

[…]


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110908/23c48eb7/attachment-0002.sig>


More information about the Openembedded-devel mailing list