CLFS 7.5: Inetutils-1.4.2 Build error?

Joe Ciccone jciccone at gmail.com
Tue Nov 22 17:12:47 PST 2005


Puvvada, Vijay B. wrote:

>./configure --prefix=/usr --libexecdir=/usr/sbin \
>    --host=${LFS_TARGET} --sysconfdir=/etc --disable-logger \
>    --disable-syslogd --disable-whois --disable-servers
>
>
>if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
>-I/usr/include/ncurses -I../include    -g -O2 -MT ctl.o -MD -MP -MF
>".deps/ctl.Tpo" \
>  -c -o ctl.o `test -f 'ctl.c' || echo './'`ctl.c; \
>then mv ".deps/ctl.Tpo" ".deps/ctl.Po"; \
>else rm -f ".deps/ctl.Tpo"; exit 1; \
>fu
>  
>

As i looked at this error I noticed that the gcc command has
-I/usr/include/ncurses which will force gcc to look their first. So I
propose making it look in /tools first. If you want to do that use this
command for configure.

CFLAGS="-I/tools/include -I/tools/include/ncurses" ./configure
--prefix=/usr --libexecdir=/usr/sbin --host=${LFS_TARGET}
--sysconfdir=/etc --disable-logger --disable-syslogd --disable-whois
--disable-servers

Alternatively, you can disable talk, to my knowlege talk is the only
program that uses curses in anyway. so passing --disable-talk to
configure should fix this also.



More information about the cross-lfs mailing list