LinuxQuestions.org
Register a domain and help support LQ
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 12-21-2003, 08:13 PM   #1
mep]-[isto
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
/lip/cpp error when (trying) to compile


hi all, when i try to ./configure i get this error:

Code:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
ive checked config.log and the following section seems relevant:

Code:
configure:3108: checking how to run the C preprocessor
configure:3144: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/limits.h:132,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/limits.h:11,
                 from configure:3141:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3150: $? = 1
configure: failed program was:
| #line 3130 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "plastik"
| #define VERSION "0.3.9"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                      Syntax error
im slightly out of my depth on this one, so i understand the c precompiler should just be gcc -E...i reinstalled my gcc package in case that was the problem but to no joy. any tips? im not really sure at all on what to do from this point on. BTW..this happens on 3 ./configures ive tried so far, all KDE skins

cheers in advance for any help

Last edited by mep]-[isto; 12-22-2003 at 07:07 AM.
 
Old 12-22-2003, 07:44 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Try to search for the file limits.h and check if it is in the path that the configure is looking for, so could be possible to create a link at this locatiion or modify the configure to search the right location ...
 
  


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
problems with compiling kopete (/lib/cpp error) mac1234mac Programming 1 09-14-2005 02:26 PM
cpp error ashirazi Programming 1 09-18-2004 06:49 PM
debian dpkg cpp depends on cpp error darkleaf Linux - Software 2 06-25-2004 02:47 AM
compiling .h and .cpp files with g++ arnab_be Linux - Newbie 2 03-03-2004 03:23 PM
cpp error ANU Linux - Software 1 12-06-2003 12:24 AM


All times are GMT -5. The time now is 06:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration