LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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


Reply
  Search this Thread
Old 08-25-2015, 08:42 AM   #1
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 201

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


I've gotten this error several times while trying to install packages. I don't know why it happens as I do have gcc installed. I tried removing it, reinstalling, and updating, but it doesn't change. I use Slackware 14.1 64-bit. /lib/cpp is a link to /usr/bin/cpp.

Any ideas how to fix this?
 
Old 08-25-2015, 07:23 PM   #2
ratt_salad
LQ Newbie
 
Registered: Jul 2015
Location: Canada
Distribution: PCLinuxOS
Posts: 14

Rep: Reputation: Disabled
Do you have the kernel-headers installed?
 
1 members found this post helpful.
Old 08-26-2015, 06:37 AM   #3
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 201

Original Poster
Rep: Reputation: 6
Nope, but installing it seemed to do the trick. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: C++ preprocessor "/lib/cpp" fails sanity check Mugatu Linux - Software 53 03-10-2016 03:17 AM
configure: error: C preprocessor "/lib/cpp" fails sanity check Danielle3 Linux - Software 4 10-28-2009 08:29 PM
configure: error: C preprocessor "/lib/cpp" fails sanity check vennaas Linux - Newbie 1 02-06-2008 06:21 PM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check HELP Ckesey Linux - Newbie 3 10-04-2004 02:58 PM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check raela Linux - Software 6 03-16-2004 06:59 PM


All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration