Ken Moffat wrote:
> On Sun, Oct 16, 2011 at 01:30:56PM -0500, [email protected] wrote:
>> Greetings,
>> I am trying to install LFS 6.8 using an Fedora 15.  I am at the 5.31.
>> Texinfo-4.13a  install and it is failing on the make install area.
>>
>> Any assistance would be great.
>>
>> ********************
> 
>  Please check the 'configure' output, to see if it found ncurses.
>> make  install-am
>> make[2]: Entering directory `/mnt/lfs/sources/texinfo-4.13/info'
>> gcc  -g -O2   -o ginfo dir.o display.o dribble.o echo-area.o filesys.o
>> footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o
>> m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o
>> tilde.o variables.o window.o doc.o ../lib/libtxi.a
>> ../gnulib/lib/libgnu.a
>> terminal.o: In function `terminal_goto_xy':
>> /mnt/lfs/sources/texinfo-4.13/info/terminal.c:235: undefined reference
>> to `tgoto'
>> /mnt/lfs/sources/texinfo-4.13/info/terminal.c:235: undefined reference
>> to `tputs'
> 
>  If ncurses was found, where did it install its headers ?  I would
> expect these functions to be in /tools/include/termcap.h.

It's a linker problem, not a header problem.

It appears that the build line should be

gcc  -g -O2   -o ginfo dir.o display.o dribble.o echo-area.o filesys.o 
footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o m-x.o 
man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o tilde.o 
variables.o window.o doc.o ../lib/libtxi.a ../gnulib/lib/libgnu.a -lncurses

The configure output should include the line:

checking for tgetent in -lncurses... yes

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to