Problem compiling Ncurses-5.3, Chapter 5 / LFS 5.0

Peter Keller muzh at ihug.co.nz
Mon Feb 2 02:17:38 PST 2004


On Mon, 02 Feb 2004 21:45, Thomas Mubis wrote:
> Hallo,
> I've the following error by compiling Ncurses-5.3 with 'make'.
> I installed both patches.
>
> Any help ist appreciated,
> Thanks,
> Thomas
>
> ...
>
> 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
                         ^^^^^^^^^^^^^^^^^^^^^^^
> make[1]: *** [../obj_s/cursesf.o] Error 127
> make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.3/c++'
> make: *** [all] Error 2

Make sure that you have gcc-g++ (or the complete gcc package), and have 
specified 
--enable-languages=c,c++ 
when you configured gcc

-- 
This mail is certified Virus Free as no Microsoft products 
were used in its preparation or propagation



More information about the lfs-support mailing list