static build with curses fails if requires -ltinfo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On my system (amd64 Debian wheezy/sid) static ncurses build requires -ltinfo:
$ pkg-config --libs --static ncurses
-lncurses -ltinfo
$ ../../configure --enable-curses --static
# Actually this fails on line
if compile_prog "" "$curses_lib" ; then
# with
ERROR
ERROR: User requested feature curses
ERROR: configure was not able to find it
ERROR
# but if we add -ltinfo to this line check succeds
...
static build yes
...
$ make
...
...
CC i386-softmmu/
LINK i386-softmmu/
../os-posix.o: In function `change_
/home/vadim/
...
../ui/curses.o: In function `curses_
/home/vadim/
/home/vadim/
/home/vadim/
/home/vadim/
../ui/curses.o: In function `curses_calc_pad':
/home/vadim/
/home/vadim/
... and so on
I tried to build the very minimal static qemu executable. Actual configure line I tried first was
../../configure --target-
and the errors was the same.
no longer affects: | freebsd-ports-mirror |
I can reproduce this issue.
I tried
./configure --static --target- list="x86_ 64-softmmu" --enable-curse
I get
ERROR
ERROR: User requested feature curses
ERROR: configure was not able to find it
ERROR