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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-17-2007, 01:04 PM
|
#1
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Rep:
|
C preprocessor "/lib/cpp" fails sanity check
Hi
I was tryin to load support for ntfs so I downloaded ntsfprgs,fuse,ntsfprogs-gnome and ntsfprogs-devel and when I started to configure the fuse I got this message
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
and i setup gcc and cpp but I still have the same message can any body help please and I hope my message is clear because there alot of points I'm not able to express because I'm totally new in linux
|
|
|
12-17-2007, 01:56 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
It always pays to examine the config.log file ....
Cheers,
Tink
|
|
|
12-17-2007, 02:04 PM
|
#3
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Original Poster
Rep:
|
there alot of info in the config.log and i don't understand it can you me please... !!!
|
|
|
12-17-2007, 02:15 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Look for the cpp ...
Cheers,
Tink
|
|
|
12-17-2007, 02:25 PM
|
#5
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Original Poster
Rep:
|
what about this part
Syntax error
configure:5684: /lib/cpp conftest.c
In file included from conftest.c:11:
/usr/include/limits.h:125:26: error: no include path in which to search for limits.h
configure:5690: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "fuse"
| #define PACKAGE_TARNAME "fuse"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "fuse 2.7.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "fuse"
| #define VERSION "2.7.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
|
|
12-17-2007, 02:44 PM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Well done. Now check if you have the kernel and/or libc development files
installed, which limits.h is part of.
In this context: it helps if you mention your distro (either in the post,
or in your profile [if you're only using one - and you haven't changed it
very recently :}]).
Cheers,
Tink
|
|
|
12-18-2007, 03:30 AM
|
#7
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Original Poster
Rep:
|
Now check if you have the kernel and/or libc development files
installed, which limits.h is part of.
I'm sorry I don't know how to do that can you clarify this to please and regarding the distro that I'm using well I'm using centos 5
|
|
|
12-18-2007, 11:36 AM
|
#8
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally Posted by sophisticate
I'm sorry I don't know how to do that can you clarify this to please and regarding the distro that I'm using well I'm using centos 5
|
I'm not a Centos expert, so there's probably a more elegant way
of doing this...
Code:
rpm -qa | egrep "dev"|egrep "(libc|kernel)"
Cheers,
Tink
|
|
|
12-18-2007, 01:13 PM
|
#9
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Original Poster
Rep:
|
when I copied the code to the shell I got
glibc-devel-2.5-12
|
|
|
12-18-2007, 02:00 PM
|
#10
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Now if you do
Code:
rpm -ql glibc-devel-2.5-12| grep limit
Does that show you the header the config.log file was complaining about?
Cheers,
Tink
|
|
|
12-18-2007, 02:10 PM
|
#11
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Original Poster
Rep:
|
no it doesn't
|
|
|
12-18-2007, 02:17 PM
|
#12
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Hmmm ... Try installing the kernel-source (or kernel-header, again, I don't know
much about Centos package management) package, then, since it wasn't listed in
the output of the first grep. Is there a GUI tool in centos that allows you to
search for available packages?
Cheers,
Tink
|
|
|
12-18-2007, 02:38 PM
|
#13
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Original Poster
Rep:
|
i tried to install the kernel and kernel header but told me the the package is already installed and i installed kernel devel but the problem still exist
|
|
|
12-19-2007, 09:49 AM
|
#14
|
Member
Registered: Oct 2007
Distribution: CentOS 5
Posts: 39
Original Poster
Rep:
|
no answer untill now
|
|
|
All times are GMT -5. The time now is 09:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|