error: C preprocessor "/lib/cpp" fails sanity check
Hi,
I have a problem with the error in the title, I had a post in linux-software but I was advised to ask here instead. http://www.linuxquestions.org/questi...-check-609923/ Thanks. |
Have you done this: apt-get install build-essential
Output of this please: dpkg -l|grep libglib|grep dev && ls -l `which {g++,gcc,cpp}` |
Yes I have installed build-essential :)
Code:
ii libglib1.2-dev 1.2.10-17 The GLib library of C routines (development) |
What are you trying to compile? Link to source?
I can't open the pastebin config.log you posted, so grep for cc1 and post results. Also grep for "command not found" Do you get anything with "locate cc1"? Like: /usr/lib/gcc/i486-linux-gnu/4.2/cc1plus If so you could symlink: ln -s /usr/lib/gcc/i486-linux-gnu/4.2/cc1plus /usr/bin/cc1plus Same with /usr/lib/gcc/i486-linux-gnu/4.2/cc1 if you have it. Replace 4.2 with 4.1 as you use that. EDIT: Well, reading more carefully your other thread, I see you're compiling glibc itself. Don't. Apt-get it instead. Might as well apt-get rar and unrar-nonfree as you are compiling winrar instead. |
just get rar or unrar from non-free. Compiling libc6 from source is not something you want to do...
|
Quote:
Also, apt-get wont come through for me this time. Code:
0x1:/home/main# apt-get install unrar Quote:
|
Did you try unrar-nonfree like I suggested? Not unrar or unrar-free.
Code:
:~$apt-cache search unrar Where did you get wacom source? apt-get install wacom-kernel-source |
Sigh.
Code:
0x1:/home/main# apt-get install wacom-kernel-source |
My bad. Looks like unrar-nonfree is now just unrar. Should work though. Have you possibly changed any debian binaries with self compiled?
According to your other thread you've installed kernel source and headers. Headers are only needed if you don't have full source. Where's the source at since wacom complained about: /usr/src/linux//include/linux/version.h The extra / between linux and include looks weird btw. Do you have the file /usr/src/linux/include/linux/version.h and is that source the same as your running kernels? EDIT: google gave this: http://linux.derkeiler.com/Mailing-L.../msg02868.html Is there something about the apt-gettable driver xserver-xorg-input-wacom that isn't working? |
i also get this error when installing many things. Like this time i am trying to install solseek on my edubuntu 7.10 running KDE. thanks in advance.
|
still need help...
okay i just tried to install java Code:
0x1:/home/main# apt-get install sun-java5-jre Code:
0x1:/home/main# apt-get install linux-headers-2.6.18-5-686 Code:
0x1:/usr/src/linuxwacom-0.7.8-3# ./configure Please help. And I just did cd /usr/src/linux/ and 'vim README' and saw this: Quote:
'make config dep' gives this: Code:
0x1:/usr/src/linux-source-2.6.18# make config dep Code:
HOSTCC scripts/basic/fixdep |
If xserver-xorg-input-wacom with wacom-tools from apt works, dump the wacom source. Looks like your kernel isn't even supported by the wacom-kernel-source. Look in /usr/src/modules/wacom/src/ , the newest one supported is 2.6.16.
"dpkg -P wacom-kernel-source" Did you do: ln -s /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h Still, it looks like you should just bite the bullet and dist-upgrade to testing since Etch is getting outdated and you'd get a newer glibc. Follow a howto for that though. After removing the wacom source, see if kernel compilation works then. |
Makuyl - That was the fix to this entire issue, THANK YOU.
I'm not sure whether it was the symlink of the removing wacom kernel source |
Glad it's sorted out, but if I were you, I'd still consider upgrading to Lenny. After all, if it works now, tweak it ;)
|
All times are GMT -5. The time now is 01:17 AM. |