markmccorkell at tiscali.co.uk
Tue Apr 28 05:23:22 PDT 2009
On Mon, 2009-04-27 at 18:15 -0500, Bruce Dubbs wrote:
> 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 220.127.116.11-170.2.56.fc10.i686 #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
Presuming you've already installed ncurses, it's possible the header
file 'term.h' may have gone into /tools/include/ncurses/ instead, which
I think happens by default during make install unless you tell it
Check if you have a /tools/include/ncurses subdir, if so try moving the
header files from there into the main include directory and recompiling
More information about the lfs-support