Bruce Dubbs bruce.dubbs at gmail.com
Mon Apr 27 16:15:32 PDT 2009

jnbutler at jnbutler.com wrote:
> I searched the FAQ, Errata, and the mailing list but did not find 
> anything about this error I'm getting while compiling 
> util-linux-ng-2.14.1. Everything else up to this point configured
> and compiled successfully. Thanks for any help you can provide.
> My system is Fedora 10 Linux #1 SMP 
> Mon Mar 23 23:37:54 EDT 2009 i686 GNU/Linux

This is irrelevant here.

> Here is the output from running the second make command where the 
> error is raised:
> lfs:/mysys/sources/util-linux-ng-2.14.1$ make -C text-utils more
> make: Entering 
> directory `/mysys/sources/util-linux-ng-2.14.1/text-utils'
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -include ../config.h 
> -I../include -DLOCALEDIR=\"/tools/share/locale\" -fsigned-char 
> -g -O2 -MT more.o -MD -MP -MF .deps/more.Tpo -c -o more.o more.c
> more.c:175:52: error: term.h: No such file or directory

This is the problem.  You should have /tools/include/term.h

Unfortunately, I don't know which package installs term.h, but look at your 
ncurses install.

   -- Bruce

More information about the lfs-support mailing list