1 |
Excuse the abundance of email. I'm running into a few things that I |
2 |
haven't previously when using the latest prefix tree/ebuild tree/ and |
3 |
ubuntu.... |
4 |
|
5 |
This appears to be a linking problem for texinfo |
6 |
|
7 |
>From the configuring: |
8 |
... |
9 |
checking for tgetent in -lncurses... no |
10 |
checking for tgetent in -lcurses... no |
11 |
checking for tgetent in -ltermlib... no |
12 |
checking for tgetent in -ltermcap... no |
13 |
checking for tgetent in -lterminfo... no |
14 |
configure: WARNING: probably need a terminal library, one of: ncurses |
15 |
curses termlib termcap terminfo |
16 |
.... |
17 |
|
18 |
Later the build fails with: |
19 |
|
20 |
.... |
21 |
gcc -Os -march=pentium4 -pipe -L/opt/portage/Apr7/usr/lib |
22 |
-L/opt/portage/Apr7/lib -o ginfo dir.o display.o dribble.o |
23 |
echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o info.o |
24 |
infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o |
25 |
signals.o terminal.o tilde.o variables.o window.o doc.o |
26 |
../lib/libtxi.a |
27 |
terminal.o: In function `terminal_goto_xy': |
28 |
terminal.c:(.text+0x48): undefined reference to `tgoto' |
29 |
terminal.c:(.text+0x51): undefined reference to `tputs' |
30 |
terminal.o: In function `terminal_clear_to_eol': |
31 |
terminal.c:(.text+0xcf): undefined reference to `tputs' |
32 |
terminal.o: In function `terminal_clear_screen': |
33 |
terminal.c:(.text+0xfa): undefined reference to `tputs' |
34 |
terminal.o: In function `terminal_up_line': |
35 |
terminal.c:(.text+0x125): undefined reference to `tputs' |
36 |
terminal.o: In function `terminal_down_line': |
37 |
terminal.c:(.text+0x150): undefined reference to `tputs' |
38 |
terminal.o:terminal.c:(.text+0x17b): more undefined references to `tputs' follow |
39 |
terminal.o: In function `terminal_delete_lines': |
40 |
terminal.c:(.text+0x22a): undefined reference to `tgoto' |
41 |
terminal.c:(.text+0x233): undefined reference to `tputs' |
42 |
terminal.c:(.text+0x24f): undefined reference to `tputs' |
43 |
terminal.o: In function `terminal_insert_lines': |
44 |
terminal.c:(.text+0x2a1): undefined reference to `tgoto' |
45 |
terminal.c:(.text+0x2aa): undefined reference to `tputs' |
46 |
terminal.c:(.text+0x2c6): undefined reference to `tputs' |
47 |
terminal.o: In function `terminal_get_screen_size': |
48 |
terminal.c:(.text+0x3d9): undefined reference to `tgetnum' |
49 |
terminal.c:(.text+0x416): undefined reference to `tgetnum' |
50 |
terminal.o: In function `terminal_initialize_terminal': |
51 |
terminal.c:(.text+0x4fa): undefined reference to `tgetent' |
52 |
terminal.c:(.text+0x5c1): undefined reference to `tgetstr' |
53 |
terminal.c:(.text+0x616): undefined reference to `tgetstr' |
54 |
terminal.c:(.text+0x626): undefined reference to `tgetstr' |
55 |
terminal.c:(.text+0x636): undefined reference to `tgetstr' |
56 |
terminal.c:(.text+0x646): undefined reference to `tgetstr' |
57 |
terminal.o:terminal.c:(.text+0x659): more undefined references to |
58 |
`tgetstr' follow |
59 |
terminal.o: In function `terminal_initialize_terminal': |
60 |
terminal.c:(.text+0x7ba): undefined reference to `tgetflag' |
61 |
terminal.c:(.text+0x7c9): undefined reference to `tgetflag' |
62 |
terminal.c:(.text+0x7e8): undefined reference to `tgetstr' |
63 |
terminal.c:(.text+0x809): undefined reference to `tgetstr' |
64 |
terminal.c:(.text+0x819): undefined reference to `tgetstr' |
65 |
terminal.c:(.text+0x829): undefined reference to `tgetstr' |
66 |
terminal.c:(.text+0x839): undefined reference to `tgetstr' |
67 |
terminal.o:terminal.c:(.text+0x84c): more undefined references to |
68 |
`tgetstr' follow |
69 |
terminal.o: In function `terminal_prep_terminal': |
70 |
terminal.c:(.text+0x93e): undefined reference to `tputs' |
71 |
terminal.c:(.text+0x972): undefined reference to `tputs' |
72 |
terminal.o: In function `terminal_unprep_terminal': |
73 |
terminal.c:(.text+0xa96): undefined reference to `tputs' |
74 |
terminal.c:(.text+0xaca): undefined reference to `tputs' |
75 |
collect2: ld returned 1 exit status |
76 |
make[3]: *** [ginfo] Error 1 |
77 |
make[3]: Leaving directory |
78 |
`/opt/portage/Apr7/var/tmp/portage/texinfo-4.8-r2/work/texinfo-4.8/info' |
79 |
make[2]: *** [all] Error 2 |
80 |
make[2]: Leaving directory |
81 |
`/opt/portage/Apr7/var/tmp/portage/texinfo-4.8-r2/work/texinfo-4.8/info' |
82 |
make[1]: *** [all-recursive] Error 1 |
83 |
make[1]: Leaving directory |
84 |
`/opt/portage/Apr7/var/tmp/portage/texinfo-4.8-r2/work/texinfo-4.8' |
85 |
make: *** [all] Error 2 |
86 |
|
87 |
!!! ERROR: sys-apps/texinfo-4.8-r2 failed. |
88 |
Call stack: |
89 |
ebuild.sh, line 1680: Called dyn_compile |
90 |
ebuild.sh, line 1077: Called src_compile |
91 |
texinfo-4.8-r2.ebuild, line 52: Called die |
92 |
|
93 |
!!! emake |
94 |
!!! If you need support, post the topmost build error, and the call |
95 |
stack if relevant. |
96 |
|
97 |
Note that these symbols are defined in |
98 |
${EPREFIX}/usr/lib/libncurses.so (or at least nm claims they are). |
99 |
|
100 |
I added |
101 |
LDFLAGS=" -L${EPREFIX}/usr/lib -L${EPREFIX}/lib "\ |
102 |
econf ${myconf} || die |
103 |
|
104 |
instead of the previous: |
105 |
econf ${myconf} || die |
106 |
|
107 |
to the ebuild. That didn't change anything, it still failed with the same error. |
108 |
|
109 |
Anyone else hitting this? |
110 |
|
111 |
thanks |
112 |
|
113 |
-matt |
114 |
|
115 |
-- |
116 |
gentoo-osx@g.o mailing list |