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
> .... > > 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':
I got around this by setting LDFLAGS to " -L${PREFIX}/lib -lncurses " (without ${PREFIX}/usr/lib) in the ebuild. -matt -- gentoo-osx@g.o mailing list