texinfo-4.6 install, tgetflag problem

jonas jonas.hultman at telia.com
Sun Mar 21 14:05:03 PST 2004


In chapter 5 (texinfo-4.6 install) I get an undefined reference to 
tgetflag and tgetstr when doing make. I've been looking around for help. 
The only reference seems to be to ncurses. When doing rpm -qa |grep 
ncurses I verify that ncurse really is installed with verified packages 
(mandrake 9.2 all updates installed):

ncurses-5.3-1.20030215.3mdk
libncurses5-devel-5.3-1.20030215.3mdk
libncurses5-5.3-1.20030215.3mdk

I can't figure it out and I can't seem to find anyone else having the 
exact same problem, so I'd really appreciate any help!!

/jonas

make results in:

terminal.o(.text+0xbe8):/mnt/lfs/tools/texinfo-4.6/info/terminal.c:650: 
more undefined references to `tgetstr' follow
terminal.o(.text+0xce8): In function `terminal_initialize_terminal':
/mnt/lfs/tools/texinfo-4.6/info/terminal.c:635: undefined reference to 
`tgetflag'
terminal.o(.text+0xd0c):/mnt/lfs/tools/texinfo-4.6/info/terminal.c:608: 
undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[3]: *** [ginfo] Error 1
make[3]: Leaving directory `/mnt/lfs/tools/texinfo-4.6/info'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/lfs/tools/texinfo-4.6/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/tools/texinfo-4.6'
make: *** [all] Error 2

so I found this line when doing  ./configure --prefix=/tools

configure: WARNING: probably need a terminal library, one of: ncurses 
curses termlib termcap terminfo





More information about the lfs-support mailing list