ncurses5.6 make error

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


On Tue, Jul 1, 2008 at 12:28 AM, Michael Spitler <spitlermike at gmail.com> wrote:
> Hello, I am working with LFS Version SVN-20080604.
> Only deviation is that I chose to use kernel 2.6.25.8 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++/cursesf.cc
> /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.

--
Dan



More information about the lfs-support mailing list