Gentoo Archives: gentoo-osx

From: m h <sesquile@×××××.com>
To: gentoo-osx@l.g.o
Subject: [gentoo-osx] Re: [PREFIX] texinfo not finding ncurses
Date: Tue, 11 Apr 2006 17:43:04
Message-Id: e36b84ee0604111043u1ecd5b16y25b5bff5fd358b66@mail.gmail.com
In Reply to: [gentoo-osx] [PREFIX] texinfo not finding ncurses by m h
1 > ....
2 >
3 > Later the build fails with:
4 >
5 > ....
6 > gcc -Os -march=pentium4 -pipe -L/opt/portage/Apr7/usr/lib
7 > -L/opt/portage/Apr7/lib -o ginfo dir.o display.o dribble.o
8 > echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o info.o
9 > infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o
10 > signals.o terminal.o tilde.o variables.o window.o doc.o
11 > ../lib/libtxi.a
12 > terminal.o: In function `terminal_goto_xy':
13 > terminal.c:(.text+0x48): undefined reference to `tgoto'
14 > terminal.c:(.text+0x51): undefined reference to `tputs'
15 > terminal.o: In function `terminal_clear_to_eol':
16
17 I got around this by setting LDFLAGS to " -L${PREFIX}/lib -lncurses "
18 (without ${PREFIX}/usr/lib) in the ebuild.
19
20 -matt
21
22 --
23 gentoo-osx@g.o mailing list