You are not logged in.

#1 2006-06-25 21:36:23

jason
Member
From: /dev/null
Registered: 2003-01-13
Posts: 102

configure: error: C preprocessor "/lib/cpp" fails

I'm getting an error:

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

For several things, mainly svn of gaim, gaim-encryption, but I haven't tried others.  Any clue what this has to do with?

Offline

#2 2006-06-25 21:41:48

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: configure: error: C preprocessor "/lib/cpp" fails

try reinstalling the new gcc. If that doesn't work, build it from abs using makepkg. If it fails to build, reinstall the old version then try again.

Offline

#3 2006-06-25 23:12:56

jason
Member
From: /dev/null
Registered: 2003-01-13
Posts: 102

Re: configure: error: C preprocessor "/lib/cpp" fails

Already tried to reinstall gcc, it didn't help.  It isn't from abs so i can't reinstall it from there.  Any other ideas?

Offline

#4 2006-06-25 23:22:40

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: configure: error: C preprocessor "/lib/cpp" fails

pacman -Sy kernel-headers

should solve it.

Offline

#5 2006-06-26 01:14:49

jason
Member
From: /dev/null
Registered: 2003-01-13
Posts: 102

Re: configure: error: C preprocessor "/lib/cpp" fails

Cotton wrote:

pacman -Sy kernel-headers

should solve it.

Awesome, thank you, works great now.  Can I ask how you knew that it was the kernel-headers?

Offline

#6 2006-06-26 05:57:39

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: configure: error: C preprocessor "/lib/cpp" fails

Courtesy of JGC.

Searched the forums for /lib/cpp fails sanity check

Invariably, someone else has already encountered most of the common problems and documents them here.  Alternatively there's IRC.

Offline

#7 2006-07-16 11:55:40

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: configure: error: C preprocessor "/lib/cpp" fails

Same issue in this location
Reinstalling kernel-headers-2.6.12 worked fine in this location.
As I had  kernel-headers installed I didn"t think first about this issue beeing solved when reinstalling it smile


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#8 2006-09-30 09:57:36

n0gabor
Member
From: Hungary / Budapest
Registered: 2006-02-10
Posts: 95

Re: configure: error: C preprocessor "/lib/cpp" fails

i tried to install sabbu and subtitleeditor with abs/aur, and both stopped at configure.
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

tried to reinstall kernel-headers-2.6.18-3 and gcc-4.1.1-3 ...no luck.
(tried to remove them from cache then reinstall...still got the error msg)

Offline

#9 2008-07-27 02:06:15

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: configure: error: C preprocessor "/lib/cpp" fails

pacman -Sy kernel-headers works for me as well! That's really odd, I'm going to look into this problem...

Offline

Board footer

Powered by FluxBB