[oe] [PATCH 1/2] zeromq: Add zeromq socket library.

Petr Štetiar ynezz at true.cz
Tue May 10 20:35:05 UTC 2011


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

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
	...

> 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?

> Also, shouldn't most the recipe be in an .inc file and the checksums
> in a version.bb?

AFAIK, there's no such guideline. If you do plan to add for example package
which would track the git version of zeromq, then yes, it would be good idea
to split it and reuse the common parts.

-- ynezz




More information about the Openembedded-devel mailing list