Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-01-2005, 09:25 PM   #1
Registered: Oct 2003
Location: Lebanon
Distribution: Slackware-DSL
Posts: 57

Rep: Reputation: 15
strange error while compiling from source

hello there guys ...
no forum can help me like u slackers ... am not able to compile from source any program
just recently i ve updated my system from 10.0 till 10.1 current and also the same error still appears during the ./configure

configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

did anyone face this problem before ? my gcc is current
and i have g++ also current
thank u very much in advance
Old 08-01-2005, 10:34 PM   #2
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Do you've the kernel-headers package installed? If you don't and you haven't compiled glibc by yourself, install the kernel-headers 2.4 package.
Old 08-01-2005, 10:59 PM   #3
Registered: Oct 2003
Location: Lebanon
Distribution: Slackware-DSL
Posts: 57

Original Poster
Rep: Reputation: 15

most probably it will cause i have been updating manually my system , ya i am mazochist you can say ! and i did not install the kernel headers related to the 2.4.31 kernel
thank you for replying in such a short notice


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
Strange /tmp error messages when compiling LavaDevil94 Programming 4 07-23-2004 05:26 AM
compiling software from do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 09:09 PM
Strange error while compiling xft. alypius Linux - Software 1 06-09-2004 09:05 PM
Strange error while compiling aquaosk-2.0 in suse ssueri Linux - Newbie 0 05-12-2004 06:02 PM
Parse error returned when compiling a source file with Kdevelop spilios Programming 1 09-09-2003 06:00 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:44 AM.

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