You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, August 18th 2004, 5:44am

/lib/cpp fails sanity check

I seem to see this come up whenever I attempt to configure from sources:

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

What does this mean and how do I correct it? I did a Google search, and really
didn't understand what I really got with that.

This most recent attempt occurred when I tried out Konstruct, to see how its
KDE 3.3 installation turns out.

2

Wednesday, August 18th 2004, 6:37am

Re: /lib/cpp fails sanity check

Quoted

Original von ralvy

I seem to see this come up whenever I attempt to configure from sources:

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

What does this mean and how do I correct it? I did a Google search, and really
didn't understand what I really got with that.

This most recent attempt occurred when I tried out Konstruct, to see how its
KDE 3.3 installation turns out.

I googled, too, and found this:
http://www.linuxquestions.org/questions/showthread.php?postid=647188

Do you have the C++ compiler installed?

If that's not the problem you could take a look at the end of the file config.log to see what check went wrong, and a better error message.

3

Wednesday, August 18th 2004, 7:51am

Re: /lib/cpp fails sanity check

Quoted

Original von cmbofh

Quoted

Original von ralvy

I seem to see this come up whenever I attempt to configure from sources:

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

What does this mean and how do I correct it? I did a Google search, and really
didn't understand what I really got with that.

This most recent attempt occurred when I tried out Konstruct, to see how its
KDE 3.3 installation turns out.

I googled, too, and found this:
http://www.linuxquestions.org/questions/showthread.php?postid=647188

Do you have the C++ compiler installed?

If that's not the problem you could take a look at the end of the file config.log to see what check went wrong, and a better error message.


I have the C++ compiler installed. At least I have cpp and gcc installed. And I find no config.log at all. Odd.

4

Wednesday, August 18th 2004, 8:05am

Re: /lib/cpp fails sanity check

Quoted

Original von ralvy

At least I have cpp and gcc installed. And I find no config.log at all. Odd.

It should normally be in the directory where you called the configure script. It's not there? No idea then (especially since I don't know Konstruct, maybe it's different when using Konstruct)...

5

Wednesday, August 18th 2004, 4:17pm

Re: /lib/cpp fails sanity check

Quoted

Original von cmbofh

Quoted

Original von ralvy

At least I have cpp and gcc installed. And I find no config.log at all. Odd.

It should normally be in the directory where you called the configure script. It's not there? No idea then (especially since I don't know Konstruct, maybe it's different when using Konstruct)...


Nope. Not there.

6

Friday, October 8th 2004, 9:02pm

Had same issue with lib/cpp sanity check error, fixed on Mandrake 10.1 community by adding gcc-c++