/lib/cpp fails sanity check problem
Hi all,
I'm trying to install NCURSES-5.4 on a Linux box but am receiving the error: Configuring NCURSES 5.4 ABI 5 (Thu Aug 25 23:57:25 EDT 2005) checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 Configuring for linux-gnulibc1 checking for prefix... /usr checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking version of gcc... 3.2.2 checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check I decided to try compiling gcc-4.0.1 to hopefully fix the c++ processor. Configure runs with no issue, but when attempting to 'make', I get: checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. make: *** [configure-fastjar] Error 1 Now the config.log shows me this: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:595: checking host system type configure:616: checking target system type configure:634: checking build system type configure:689: checking for a BSD compatible install configure:742: checking whether ln works configure:766: checking whether ln -s works configure:1808: checking for gcc configure:1921: checking whether the C compiler (gcc ) works configure:1937: gcc -o conftest conftest.c 1>&5 configure:1963: checking whether the C compiler (gcc ) is a cross-compiler configure:1968: checking whether we are using GNU C configure:1996: checking whether gcc accepts -g configure:2063: checking for gnatbind configure:2128: checking whether compiler driver understands Ada configure:2160: checking how to compare bootstrapped objects configure:2258: checking for correct version of gmp.h configure:2271: gcc -c -g -O2 conftest.c 1>&5 configure:2261:17: gmp.h: No such file or directory configure: In function `main': configure:2265: `choke' undeclared (first use in this function) configure:2265: (Each undeclared identifier is reported only once configure:2265: for each function it appears in.) configure:2265: parse error before "me" configure: failed program was: #line 2260 "configure" #include "confdefs.h" #include "gmp.h" int main() { #if __GNU_MP_VERSION < 3 choke me #endif ; return 0; } configure:2784: checking for bison configure:2819: checking for bison configure:2854: checking for gm4 configure:2889: checking for flex configure:2924: checking for flex configure:2959: checking for makeinfo configure:3606: checking for i686-pc-linux-gnulibc1-ar configure:3639: checking for ar configure:3678: checking for i686-pc-linux-gnulibc1-as configure:3711: checking for as configure:3750: checking for i686-pc-linux-gnulibc1-dlltool configure:3783: checking for dlltool configure:3822: checking for i686-pc-linux-gnulibc1-ld configure:3855: checking for ld configure:3894: checking for i686-pc-linux-gnulibc1-nm configure:3927: checking for nm configure:3966: checking for i686-pc-linux-gnulibc1-ranlib configure:3999: checking for ranlib configure:4038: checking for i686-pc-linux-gnulibc1-windres configure:4071: checking for windres configure:4110: checking for i686-pc-linux-gnulibc1-objcopy configure:4143: checking for objcopy configure:4182: checking for i686-pc-linux-gnulibc1-objdump configure:4215: checking for objdump configure:4261: checking for i686-pc-linux-gnulibc1-ar configure:4294: checking for ar configure:4333: checking for i686-pc-linux-gnulibc1-as configure:4366: checking for as configure:4405: checking for i686-pc-linux-gnulibc1-dlltool configure:4438: checking for dlltool configure:4477: checking for i686-pc-linux-gnulibc1-ld configure:4510: checking for ld configure:4549: checking for i686-pc-linux-gnulibc1-nm configure:4582: checking for nm configure:4621: checking for i686-pc-linux-gnulibc1-ranlib configure:4654: checking for ranlib configure:4693: checking for i686-pc-linux-gnulibc1-windres configure:4726: checking for windres configure:4811: checking whether to enable maintainer-specific portions of Makefiles configure:4858: checking if symbolic links between directories work One other note, this is on a virtual dedicated server, running -jailshell-2.05b and I don't currently have root access. Could the lack of trying to configure/make as root be the issue? Or soemthing else? Any help appreciated. |
/lib/cpp fails sanity check means that you don't have a C++ compiler. Have you installed the gcc-c++ or g++ RPM (depending on distro)?
|
All times are GMT -5. The time now is 09:41 AM. |