ncurses; error: C++ preprocessor "/lib/cpp" fails sanity check

Joel Miller cheeziologist at mail.isc.rit.edu
Sun Jul 20 11:23:34 PDT 2003


On Sun, 20 Jul 2003 11:10:21 +0200, Andreas Cammin 
<andreas.cammin at freenet.de> wrote:

> Chris Lingard wrote:
>
>> You have no c++ compiler. When you built your chapter 6 gcc you made a
>> mistake and omitted to build the c++ part
>
> I faced the same problem - in the lfs 4.1 book, the configure line does 
> not
> contain --enable-languages=c,c++ might that be the reason? Is that maybe 
> an
> error in the book?
>
> Andreas

Becuase in the 4.1 book you are only supposed to download gcc-core and gcc- 
g++ tarballs and not the entire languages tarball. Thus there is no need to 
type --enable-languages=c,c++ because you havent untarred any other 
languages. If you, however, downloaded the huge gcc tarball that has all 
the languages then you do need to use the --enable-languages but the book 
no longer uses this tarball so the --enable-languages line was removed.

-- 
Registered LFS User 6929
Registered Linux User 298182
cheeziologist at attbi dot com is about to be invalid...plz use this new 
address

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list