Skip to contentSkip to conversation

New: dialog 1.1 needs libtinfo from ncurses

Buildroot bugzilla at busybox.net 1 participant 10 messages Nov 17, 2010 – Mar 1, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2845

Summary: dialog 1.1 needs libtinfo from ncurses
Product: buildroot
Version: 2009.08
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sergio at sergiomb.no-ip.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Quoted 1 line
Quoted 1 line
Quoted 1 line

dialog 1.1-20100428 Building

buildroot-2010.08/output/staging/usr/bin/mipsel-unknown-linux-uclibc-gcc --sysroot=/buildroot-2010.08/output/staging -o dialog dialog.o -L. -ldialog -Lbuildroot-2010.08/output/staging/lib -Lbuildroot-2010.08/output/staging/usr/lib -lncurses -ltinfo -lm buildroot-2010.08/output/staging/usr/lib/gcc/mipsel-unknown-linux-uclibc/4.3.5 /../../../../mipsel-unknown-linux-uclibc/bin/ld: cannot find -ltinfo
collect2: ld returned 1 exit status

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

https://bugs.busybox.net/show_bug.cgi?id=2845

--- Comment #1 from S?rgio <[email protected]> --- Created attachment 2689
--> https://bugs.busybox.net/attachment.cgi?id=2689
so ncurses should becompile with libtinfo.so

ncurses normally is compiled with libtinfo , Fedora does ... , bash if have it
use it etc..

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #2 from Peter Korsgaard <[email protected]> --- Hmm, dialog builds just fine here. Could you give latest git a try?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

--- Comment #3 from S?rgio <[email protected]> --- Created attachment 2731
--> https://bugs.busybox.net/attachment.cgi?id=2731
build from git

no , problem still there

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

--- Comment #4 from S?rgio <[email protected]> --- in config.log
line 1692:
configure:13305: testing ...checking LIBS -lncurses -ltinfo -lm configure:13355: testing ...checked LIBS -lncurses -ltinfo -lm ...

seems dialog treats libtinfo as part of ncurses
btw many check have errors by using -ltinfo has part of the system as -lm .
for example:
configure:12421: checking for start_color
configure:12458:
/home/sergio/hardware/moviecube/buildroot/output/staging/usr/bin/mipsel-unknown-linux-uclibc-gcc --sysroot=/home/sergio/hardware/moviecube/buildroot/output/staging -o conftest
-Os -pipe -Os -mtune=mips32r2 -mabi=32 -msoft-float -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/sergio/hardware/moviecube/buildroot/output/staging/usr/include -I/home/sergio/hardware/moviecube/buildroot/output/staging/include
-D_GNU_SOURCE -L/home/sergio/hardware/moviecube/buildroot/output/staging/lib -L/home/sergio/hardware/moviecube/buildroot/output/staging/usr/lib conftest.c
-lncurses -ltinfo -lm >&5 /home/sergio/hardware/moviecube/buildroot/output/staging/usr/lib/gcc/mipsel-unknown-linux-uclibc/4.3.5/../../../../mipsel-unknown-linux-uclibc/bin/ld:
cannot find -ltinfo

config.log is not attach because :
The file you are trying to attach is 101 kilobytes (KB) in size. Non-patch attachments cannot be more than 75 KB.
We recommend that you store your attachment elsewhere and then insert the URL to it in a comment, or in the URL field for this bug.

and I don't have time to do it now .

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

--- Comment #5 from Peter Korsgaard <[email protected]> ---
Ok, it seems to be because it ends up looking at your host headers. I've tried to fix that in git, could you give that a try?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

--- Comment #6 from S?rgio <[email protected]> --- (In reply to comment #5)

Quoted 2 lines

Ok, it seems to be because it ends up looking at your host headers. I've tried to fix that in git, could you give that a try?

It is fixed , but still don't understand why don't we have ncurses with libtinfo , seems quite important and powerful lib ...

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#7 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Peter Korsgaard <[email protected]> ---
Ok, resolving - thanks.
I have no problem with adding an option to add tinfo to the ncurses build, but I don't want to add any new features this close to the 2010.11 release.

Could you send a patch adding optional tinfo build (E.G. with a config option) to ncurses, then I'll apply post-2010.11 - Thanks

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#8 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

--- Comment #8 from S?rgio <[email protected]> --- Created attachment 3049
--> https://bugs.busybox.net/attachment.cgi?id=3049
Make optional build nucruses --with-termlib=tinfo

(In reply to comment #7)

Quoted 2 lines

Could you send a patch adding optional tinfo build (E.G. with a config option) to ncurses, then I'll apply post-2010.11 - Thanks

This is a draft , I'm newbie , so I don't know, how to call option , etc ... , just copy by other example, hope that can help something.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#9 lore raw

[Buildroot] [Bug 2845] dialog 1.1 needs libtinfo from ncurses

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2845

S?rgio <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

   Attachment #3049|Make optional build         |Make optional build ncurses
        description|nucruses                    |--with-termlib=tinfo
                   |--with-termlib=tinfo        |
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.