LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   C++ preprocessor "/lib/cpp" fails sanity check C++ preprocessor "/lib/cpp" fails san (https://www.linuxquestions.org/questions/linux-software-2/c-preprocessor-lib-cpp-fails-sanity-check-c-preprocessor-lib-cpp-fails-san-4175492291/)

mutetikasikali 01-23-2014 07:59 AM

C++ preprocessor "/lib/cpp" fails sanity check C++ preprocessor "/lib/cpp" fails san
 
I was installing cclfox, and in the middle i encountered the below error -comp36@comp36-HP-Compaq-dc7100-SFF-DX878AV:~/cclfox-0.7.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking major version... 0
checking minor version... 7
checking patchlevel... 1
checking whether make sets $(MAKE)... (cached) yes
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... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

What can i do to correct it i am installing on ubuntu 12.04. please!!!!!!!!!!!!

gengisdave 01-23-2014 08:23 PM

it seems you don't have gcc compiler installed

rosehosting.com 01-25-2014 06:21 AM

Install g++, gcc and make, or simply execute the following command:

sudo apt-get install build-essential

knudfl 01-25-2014 06:57 AM

Actually the "cclfox-0.7.1" code is c++ !

And : gcc will automatically be usable when you install g++ .


All times are GMT -5. The time now is 07:18 PM.