Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
While installing pkg-config-0.23 package it throws error " C preprocessor "/lib/cpp" fails sanity check" and i checked for gcc which is already installed and i dont know how to fix this issue.
When i checked in config.log file it shows below error.
conftest.c:11:19: error: stdio.h: No such file or directory
conftest.c:12:23: error: sys/types.h: No such file or directory
conftest.c:13:22: error: sys/stat.h: No such file or directory
conftest.c:16: error: syntax error before '*' token
conftest.c:16: warning: 'struct stat' declared inside parameter list
conftest.c:16: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:16: warning: data definition has no type or storage class
conftest.c:50: error: syntax error before 'FILE'
conftest.c:50: warning: 'struct stat' declared inside parameter list
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,926
Thanked: 272
Quote:
conftest.c:11:19: error: stdio.h: No such file or directory
conftest.c:12:23: error: sys/types.h: No such file or directory
conftest.c:13:22: error: sys/stat.h: No such file or directory
The missing packages : 'glibc-headers' (+ 'glibc-devel' ).
Which also is the the usual cause for the error :
" C preprocessor "/lib/cpp" fails sanity check "
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.