ncurses5.6 make error

Dan Nicholson dbn.lists at
Tue Jul 1 10:33:09 PDT 2008

On Tue, Jul 1, 2008 at 12:28 AM, Michael Spitler <spitlermike at> wrote:
> Hello, I am working with LFS Version SVN-20080604.
> Only deviation is that I chose to use kernel instead.
> I am using Ubuntu 8.04 as my host system.
> Everything seems to have worked fine until I reached Ch. 5.13.
> When I run make on ncurses, it gives this error:
> make[1]: Entering directory `/mnt/lfs/source/ncurses-5.6/c++'
> cd ../obj_s;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
> -I../include  -D_GNU_SOURCE -DNDEBUG -I/tools/include
> -fPIC -c ../c++/
> /bin/sh: -I../c++: not found
> make[1]: *** [../obj_s/cursesf.o] Error 127
> make[1]: Leaving directory `/mnt/lfs/source/ncurses-5.6/c++'
> make: *** [all] Error 2

It seems like configure for ncurses failed to find a c++ compiler. Did
you get any errors when you ran configure? It should be finding
/tools/bin/g++. Maybe the GCC-pass2 build was borked.


More information about the lfs-support mailing list