Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: We need newer ncurses Was: Host Environment affect on target builds
Date: Sat, 5 Jun 2010 07:57:22 +0200	[thread overview]
Message-ID: <20100605055722.GR16035@jama> (raw)
In-Reply-To: <A24693684029E5489D1D202277BE89445316FB43@dlee02.ent.ti.com>

On Fri, Jun 04, 2010 at 08:19:13PM -0500, Ambrose, Martin wrote:
> Hello.
> 
> I don't really understand why some recipes depend on the host environment.
> 
> For example, on my Fedora 12 machine I have:
>     $ yum info ncurses-devel | grep Release
>     Release    : 3.20090207.fc12
>     $ ncurses5-config --libs
>     -lncurses
> 
> And on my Fedora 13 machine this is a bit newer
>     $ yum info ncurses-devel | grep Release
>     Release    : 7.20100130.fc13
>     $ ncurses5-config --libs
>     -lncurses -ltinfo
> 
> The newer version lists tinfo library in addition to ncurses. Don't know why but OK.
> The problem is the configure (autoconf) portion of recipes (here alsa-utils) uses this executable
> to determine library linkage dependencies. So I get a build error even though this is for the target (here arm).
>     /opt/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -ltinfo
> 
> This seems counter intuitive to me. Is this expected? Or maybe I missed something in setting up my OE environ.

It's not expected and it shouldn't use ncurses*5-config from host, but
from ncurses-native. But for some reason ncurses-native_5.4.bb does not
stage ncurses*5-config and then alsa-utils-1.0.20/configure.in
AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes])
finds ncurses5-config from your host instead of from staging..

According to ncurses-5.6/ANNOUNCE it's available in 5.6 and newer.

So to fix this, we need newer ncurses/ncurses-native in OE, or hack
configure.in to ignore ncurses5-config ncursesw5-config..

BTW: 5.4 is >6years old, 5.7 ~2years old (latest)

Is someone already working on newer ncurses recipes?

Regards,

-- 
Jansa 'JaMa' Martin     jabber: Martin.Jansa@gmail.com



  reply	other threads:[~2010-06-05  6:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05  1:19 Host Environment affect on target builds Ambrose, Martin
2010-06-05  5:57 ` Martin Jansa [this message]
2010-06-05 13:36   ` We need newer ncurses Was: " Enrico Scholz
2010-06-19 18:52     ` Klaus 'mrmoku' Kurzmann

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=20100605055722.GR16035@jama \
    --to=martin.jansa@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox