Problem compiling Ncurses-5.3, Chapter 5 / LFS 5.0

Meher Khiari meher at wanadoo.fr
Mon Feb 2 02:15:06 PST 2004


> make[1]: Entering directory `/mnt/lfs/sources/ncurses-5.3/c++'
> cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG
> -D_GNU_SOURCE -I. -I../include -I/tools/include  -fPIC -c ../c++/cursesf.cc
> /bin/sh: line 1: g++: command not found
                   ^^^^^^^^^^^^^^^^^^^^^^
                              |
This is your pb --------------+

> make[1]: *** [../obj_s/cursesf.o] Error 127
> make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.3/c++'
> make: *** [all] Error 2

Is g++ is in your $PATH ?
did you compiled gcc in the second pass with --enable-languages=c,c++ ?




More information about the lfs-support mailing list