Hi,

I am following the CLFS SVN-20070805-x86 documentation.  I have succeeded
thus far with everything to build the temporary system, however I have hit a
snag when it comes to building TexInfo (the last item on the list!).

Two things that I have observed:  1) TexInfo does not find the ncurses
header files nor the libraries and 2) it appears to be using the host's gcc.

I believe I have successfully built ncurses:  I can find ncurses.h and
ncurses_dll.h under /tools/include, and I can find the collection of ncurses
libraries and links under /tools/lib.

Here are the steps I am using to configure and build TexInfo:

        ./configure --prefix=/tools \
            --build=${CLFS_HOST} --host=${CLFS_TARGET}
        make
        make install

Here are the values assigned to CLFS_HOST and CLFS_TARGET:

[EMAIL PROTECTED]:/mnt/clfs/sources/texinfo-4.9$ echo $CLFS_HOST $CLFS_TARGET
i486-cross-linux-gnu i586-pc-linux-gnu

Here's a snippet of the "configure" output:

checking build system type... i486-cross-linux-gnu
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lterminfo... no
configure: WARNING: probably need a terminal library, one of: ncurses curses
termlib termcap terminfo
.
.
.
configure: Continuing with main configure (i586-pc-linux-gnu).
checking for tgetent in -lncurses... yes
checking for library with termcap variables...
checking ncurses/termcap.h usability... no
checking ncurses/termcap.h presence... no
checking for ncurses/termcap.h... no
.
.
.

Here's the first part of the output indicating what produces the compilation
errors (notice that gcc is being called):

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
terminal.o: In function `terminal_ring_bell':
/mnt/clfs/sources/texinfo-4.9/info/terminal.c:349: undefined reference to
`tputs'

>From there I get other "undefined references" for tgetnum, tgetent, tgetstr,
etc.

Anyhow, does anyone have any ideas as to what can be done to configure
TexInfo so that it knows where to find the ncurses headers/libraries under
/tools?  Or is this merely a case where I need to build ncurses and then
install its products under /cross-tools?
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to