Glibc 2.3.2 Build Failure

Tushar Teredesai tushar at linuxfromscratch.org
Sun Mar 30 19:05:20 PST 2003


Casey wrote:

>I'm trying to build glibc 2.3.2 in the beginning of Chapter 6. It fails
>during the configuration script with the error:
>
>  checking for gcc option to accept ANSI C... none needed
>  checking how to run the C preprocessor... /lib/cpp
>  configure: error: C preprocessor "/lib/cpp" fails sanity check
>  See `config.log' for more details.
>
>glibc 2.3.1 seems to work, is there a quick fix for this or what? Has
>anyone else seen this error? I tried linking /static/bin/cpp to /lib/cpp
>but it still errors out. If anyone has some good ideas let me know.
>  
>
Yep, did you check config.log to for the error?

You need to touch some include file since configure needs it, dunno 
which since I use pure_lfs approach. Someone posted it recently, search 
the archives if you are not using the version in the book.

-- 
Tushar Teredesai
   http://www.linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/


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



More information about the lfs-dev mailing list