* Host Environment affect on target builds
@ 2010-06-05 1:19 Ambrose, Martin
2010-06-05 5:57 ` We need newer ncurses Was: " Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Ambrose, Martin @ 2010-06-05 1:19 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
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.
Regards,
Martin
^ permalink raw reply [flat|nested] 4+ messages in thread
* We need newer ncurses Was: Host Environment affect on target builds
2010-06-05 1:19 Host Environment affect on target builds Ambrose, Martin
@ 2010-06-05 5:57 ` Martin Jansa
2010-06-05 13:36 ` Enrico Scholz
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2010-06-05 5:57 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: We need newer ncurses Was: Host Environment affect on target builds
2010-06-05 5:57 ` We need newer ncurses Was: " Martin Jansa
@ 2010-06-05 13:36 ` Enrico Scholz
2010-06-19 18:52 ` Klaus 'mrmoku' Kurzmann
0 siblings, 1 reply; 4+ messages in thread
From: Enrico Scholz @ 2010-06-05 13:36 UTC (permalink / raw)
To: openembedded-devel; +Cc: martin.jansa
Martin Jansa <martin.jansa@gmail.com> writes:
> BTW: 5.4 is >6years old, 5.7 ~2years old (latest)
>
> Is someone already working on newer ncurses recipes?
https://www.cvg.de/people/ensc/ncurses_5.7.bb
Problem with ncurses is, that it needs a patched autoconf 2.13 to do
the full autoconf step. Recipe above uses shipped ./configure. Newer
ncurses need some termcap/tinfo related changes in multiple packages
too and I did not had time to clean them all up for submission.
Enrico
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: We need newer ncurses Was: Host Environment affect on target builds
2010-06-05 13:36 ` Enrico Scholz
@ 2010-06-19 18:52 ` Klaus 'mrmoku' Kurzmann
0 siblings, 0 replies; 4+ messages in thread
From: Klaus 'mrmoku' Kurzmann @ 2010-06-19 18:52 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz, martin.jansa
Am Samstag, 5. Juni 2010, 15:36:59 schrieb Enrico Scholz:
> Martin Jansa <martin.jansa@gmail.com> writes:
> > BTW: 5.4 is >6years old, 5.7 ~2years old (latest)
> >
> > Is someone already working on newer ncurses recipes?
>
> https://www.cvg.de/people/ensc/ncurses_5.7.bb
>
> Problem with ncurses is, that it needs a patched autoconf 2.13 to do
> the full autoconf step. Recipe above uses shipped ./configure. Newer
> ncurses need some termcap/tinfo related changes in multiple packages
> too and I did not had time to clean them all up for submission.
I had that -ltinfo build problem with alsa-utils on Fedora 13. With your
ncurses recipe it build fine. Thanks :)
>
>
> Enrico
>
--
Klaus 'mrmoku' Kurzmann
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-19 19:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 1:19 Host Environment affect on target builds Ambrose, Martin
2010-06-05 5:57 ` We need newer ncurses Was: " Martin Jansa
2010-06-05 13:36 ` Enrico Scholz
2010-06-19 18:52 ` Klaus 'mrmoku' Kurzmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox