
sesquile at gmail
Apr 10, 2006, 6:15 PM
Post #1 of 2
(553 views)
Permalink
|
|
[PREFIX] texinfo not finding ncurses
|
|
Excuse the abundance of email. I'm running into a few things that I haven't previously when using the latest prefix tree/ebuild tree/ and ubuntu.... This appears to be a linking problem for texinfo From the configuring: ... 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 .... Later the build fails with: .... gcc -Os -march=pentium4 -pipe -L/opt/portage/Apr7/usr/lib -L/opt/portage/Apr7/lib -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_goto_xy': terminal.c:(.text+0x48): undefined reference to `tgoto' terminal.c:(.text+0x51): undefined reference to `tputs' terminal.o: In function `terminal_clear_to_eol': terminal.c:(.text+0xcf): undefined reference to `tputs' terminal.o: In function `terminal_clear_screen': terminal.c:(.text+0xfa): undefined reference to `tputs' terminal.o: In function `terminal_up_line': terminal.c:(.text+0x125): undefined reference to `tputs' terminal.o: In function `terminal_down_line': terminal.c:(.text+0x150): undefined reference to `tputs' terminal.o:terminal.c:(.text+0x17b): more undefined references to `tputs' follow terminal.o: In function `terminal_delete_lines': terminal.c:(.text+0x22a): undefined reference to `tgoto' terminal.c:(.text+0x233): undefined reference to `tputs' terminal.c:(.text+0x24f): undefined reference to `tputs' terminal.o: In function `terminal_insert_lines': terminal.c:(.text+0x2a1): undefined reference to `tgoto' terminal.c:(.text+0x2aa): undefined reference to `tputs' terminal.c:(.text+0x2c6): undefined reference to `tputs' terminal.o: In function `terminal_get_screen_size': terminal.c:(.text+0x3d9): undefined reference to `tgetnum' terminal.c:(.text+0x416): undefined reference to `tgetnum' terminal.o: In function `terminal_initialize_terminal': terminal.c:(.text+0x4fa): undefined reference to `tgetent' terminal.c:(.text+0x5c1): undefined reference to `tgetstr' terminal.c:(.text+0x616): undefined reference to `tgetstr' terminal.c:(.text+0x626): undefined reference to `tgetstr' terminal.c:(.text+0x636): undefined reference to `tgetstr' terminal.c:(.text+0x646): undefined reference to `tgetstr' terminal.o:terminal.c:(.text+0x659): more undefined references to `tgetstr' follow terminal.o: In function `terminal_initialize_terminal': terminal.c:(.text+0x7ba): undefined reference to `tgetflag' terminal.c:(.text+0x7c9): undefined reference to `tgetflag' terminal.c:(.text+0x7e8): undefined reference to `tgetstr' terminal.c:(.text+0x809): undefined reference to `tgetstr' terminal.c:(.text+0x819): undefined reference to `tgetstr' terminal.c:(.text+0x829): undefined reference to `tgetstr' terminal.c:(.text+0x839): undefined reference to `tgetstr' terminal.o:terminal.c:(.text+0x84c): more undefined references to `tgetstr' follow terminal.o: In function `terminal_prep_terminal': terminal.c:(.text+0x93e): undefined reference to `tputs' terminal.c:(.text+0x972): undefined reference to `tputs' terminal.o: In function `terminal_unprep_terminal': terminal.c:(.text+0xa96): undefined reference to `tputs' terminal.c:(.text+0xaca): undefined reference to `tputs' collect2: ld returned 1 exit status make[3]: *** [ginfo] Error 1 make[3]: Leaving directory `/opt/portage/Apr7/var/tmp/portage/texinfo-4.8-r2/work/texinfo-4.8/info' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/portage/Apr7/var/tmp/portage/texinfo-4.8-r2/work/texinfo-4.8/info' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/portage/Apr7/var/tmp/portage/texinfo-4.8-r2/work/texinfo-4.8' make: *** [all] Error 2 !!! ERROR: sys-apps/texinfo-4.8-r2 failed. Call stack: ebuild.sh, line 1680: Called dyn_compile ebuild.sh, line 1077: Called src_compile texinfo-4.8-r2.ebuild, line 52: Called die !!! emake !!! If you need support, post the topmost build error, and the call stack if relevant. Note that these symbols are defined in ${EPREFIX}/usr/lib/libncurses.so (or at least nm claims they are). I added LDFLAGS=" -L${EPREFIX}/usr/lib -L${EPREFIX}/lib "\ econf ${myconf} || die instead of the previous: econf ${myconf} || die to the ebuild. That didn't change anything, it still failed with the same error. Anyone else hitting this? thanks -matt -- gentoo-osx [at] gentoo mailing list
|