¡Ya está!
Encontré la respuesta en
http://wiki.lunar-linux.org/index.php/Lunar_Linux:FAQ
Aunque no la seguí al pie de la letra y reinstalé el paquete del "kernel
headers".
Saludos,
Configure: error: C preprocessor "/lib/cpp" fails sanity check
What does this error mean and how can I fix it?
* configure: error: C preprocessor "/lib/cpp" fails sanity check
Answer:
Your kernel headers are missing from /usr/include. This means the C
PreProcessor cannot verify that it has the proper cached copies of those
vital header files. You need to install the proper ones manually. Here's
how:
lin kernel-headers-2.4
This might work for you! (Use the 2.6 version if needed of course)
Otherwise:
mkdir -p /usr/include/{linux,asm}
to create the two target dirs, if needed. Then execute:
cp -av /usr/src/linux/include/linux /usr/include/
cp -av /usr/src/linux/include/asm/* /usr/include/asm/
to copy the files manually. Be warned that the second command has to be
done this way since /usr/src/linux/include/asm is a softlink to your
arch asm header files, asm points to asm-i386, on x86 machines. So if,
on the other hand, you had copied
cp -av /usr/src/linux/include/asm /usr/include/
you would then get a softlink to nowhere under /usr/include/.
Last, you can always try to unpack the kernel tarball you have into
/usr/src/linux and manaully link or copy the headers over yourself.
Fernando Gabriel Ranea wrote:
Hola,
No soy un experto pero por una cuestión de "recursos informáticos" me
gusta compilar mucho de los programas que utilizo. Tengo Slackware y
periódicamente voy actualizando los paquetes. Unas semanas atrás
actualicé los nuevos paquetes de los compiladores gcc-3.3.6 y pero hacía
un tiempo que no compilaba nada.
El otro día quise actualizar el SpamAssassin y tuve problemas. Quise
actualizar el Perl y también. En fin cualquier cosa que quiero compilar
es truncada por el funesto mensaje:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Los paquetes están bien. ¿Qué puede ser lo que esté fallando?
Abajo les mando un ejemplo.
Saludos,
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/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for gawk... (cached) gawk
checking for ranlib... ranlib
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for library containing strerror... none required
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
--
Para desuscribirte tenés que visitar la página
https://listas.linux.org.ar/mailman/listinfo/lugar-gral/
/* Publica y encontra trabajo relacionado con softlibre en
http://www.usla.org.ar/modules/jobs/ */
Si tenés algún inconveniente o consulta escribí a mailto:[EMAIL PROTECTED]