All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Petr Štetiar" <ynezz@true.cz>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/2] zeromq: Add zeromq socket library.
Date: Tue, 10 May 2011 22:35:05 +0200	[thread overview]
Message-ID: <20110510203505.GD1544@ibawizard.net> (raw)
In-Reply-To: <BANLkTikQ81NTULOMEu9k9+nvkpB4m3iSrw@mail.gmail.com>

Siddharth Heroor <heroor@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



  reply	other threads:[~2011-05-10 20:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-01  9:50 [PATCH 1/2] zeromq: Add zeromq socket library Siddharth Heroor
2011-05-01  9:50 ` [PATCH 2/2] zeromq: Add version 2.1.6 Siddharth Heroor
2011-05-01 10:10   ` Paul Menzel
2011-05-01 15:30     ` Siddharth Heroor
2011-05-01 10:08 ` [PATCH 1/2] zeromq: Add zeromq socket library Paul Menzel
2011-05-01 15:24   ` Siddharth Heroor
2011-05-01 17:30 ` Petr Štetiar
2011-05-03 16:48   ` Siddharth Heroor
2011-05-06  9:02     ` Petr Štetiar
2011-05-06 10:09       ` Siddharth Heroor
2011-05-08 18:09         ` Petr Štetiar
2011-05-10  9:34           ` Siddharth Heroor
2011-05-10 20:35             ` Petr Štetiar [this message]
2011-09-08 10:13               ` zeromq: task configure fails with `autogen.sh: error: could not find libtool.` (was: [PATCH 1/2] zeromq: Add zeromq socket library.) Paul Menzel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110510203505.GD1544@ibawizard.net \
    --to=ynezz@true.cz \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.