Ad Widget

Collapse

C preprocessor "/lib/cpp" fails sanity check; Centos 4.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spatz42
    Junior Member
    • May 2006
    • 2

    #1

    C preprocessor "/lib/cpp" fails sanity check; Centos 4.2

    When I run

    ./configure --with-mysql

    I get the following output:

    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for main in -lsocket... no
    checking for main in -lkstat... no
    checking for main in -lnsl... yes
    checking how to run the C preprocessor... /lib/cpp
    configure: error: C preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.

    SELinux is disabled.

    Any hint is appreciated.
    Last edited by spatz42; 20-11-2006, 18:34.
  • grabber
    Member
    • Mar 2005
    • 85

    #2
    Originally posted by spatz42
    When I run

    ./configure --with-mysql

    I get the following output:

    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for main in -lsocket... no
    checking for main in -lkstat... no
    checking for main in -lnsl... yes
    checking how to run the C preprocessor... /lib/cpp
    configure: error: C preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.

    See installed Packages: http://www.ulrich-fink.de/packages.txt

    See config.log: http://www.ulrich-fink.de/config.txt

    SELinux is disabled.

    Any hint is appreciated.

    do you have the kernel dev package installed?

    Comment

    • spatz42
      Junior Member
      • May 2006
      • 2

      #3
      no, i had not. now i have but it did not make a difference at all...

      Tried to uninstall and reinstall all i could find about gcc, gcc-c++, cpp, ...

      what am i doing wrong *desperate*

      Comment

      Working...