configure error

hello, i have a fresh installes Suse Linux 11.0

everytime on every software when i type ./configure this error ocurse:

configure: error: C preprocessor “/lib/cpp” fails sanity check

i tried to use google and install every package which was named with this error, but nothing… it wont work for me.

an other machine with the same system and the same gcc version works fine…

can somebody tell me what to do?

Hi!
Maybe there is missing something… Go to YaST → Software Management. For filter select Patterns scroll down in the list and check out Base Development.
Hope that help.
Good luck.

everything in this pattern is installed. but it doesnt works

hmmmm, i have installed the 32bit distribution on a 64 bit machine.
could this the failure be?

neodrexx schrieb:
> hmmmm, i have installed the 32bit distribution on a 64 bit machine.
> could this the failure be?

Definitely not. Running a 32 bit installation on 64 bit
capable hardware has always worked fine (sometimes even
better than actually running a 64 bit system).

HTH
T.


Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

no other solution ?

Reinstal cpp and gcc? Just a guess. cpp is it’s own rpm:

Callandor:~ # which cpp
/usr/bin/cpp
Callandor:~ # rpm -qf /usr/bin/cpp
cpp-4.3-39.1

Pete

after this:

cp /usr/include/sm/cdefs.h /usr/include/sys/cdefs.h

the configure script runs completly, but mostly of the header files cant be fount. i looked for them and find all of then in other folders, but why ?

should i copy ervyone of them to the right place?

ok i have found a solution

i’ve copied my own include directory to the server and everything works now…

neodrexx schrieb:
> hello, i have a fresh installes Suse Linux 11.0
>
> everytime on every software when i type ./configure this error ocurse:
>
> configure: error: C preprocessor “/lib/cpp” fails sanity check

Which software did you try this with, specifically?

Configure scripts vary widely. My first approach would be to look
inside one of the configure scripts which print that message to
try and understand which circumstances may trigger it.

HTH
T.


Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany