Configure Error C Preprocessor
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Configure Error C Preprocessor /lib/cpp Fails Sanity Check
of this site About Us Learn more about Stack Overflow the company configure error c preprocessor fails sanity check Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges configure error c++ preprocessor /lib/cpp fails sanity check centos Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:
C Preprocessor Error Directive
Sign up configure: error: C preprocessor fails sanity check up vote 4 down vote favorite I am compiling several libraries on Ubuntu 12.04 x86_64. First I compiled the libraries with GCC 4.7.2 and it went all well. Then I tryed to recompile them with Inte Composer 2013 u2. Fot that purpose i did: export CC=/opt/intel/composer_xe_2013.2.146/bin/intel64/icc export CPP=/opt/intel/composer_xe_2013.2.146/bin/intel64/icpc Then I run ./configure and
C Preprocessor Error Macro
got the following error: checking how to run the C preprocessor... /opt/intel/composer_xe_2013.2.146/bin/intel64/icpc configure: error: in `/var/www/workspace/freetype/freetype-2.4.11/builds/unix': configure: error: C preprocessor "/opt/intel/composer_xe_2013.2.146/bin/intel64/icpc" fails sanity check See `config.log' for more details make: *** [setup] Error 1 The config log file contains this error: configure:3345: checking how to run the C preprocessor configure:3415: result: /opt/intel/composer_xe_2013.2.146/bin/intel64/icpc configure:3435: /opt/intel/composer_xe_2013.2.146/bin/intel64/icpc conftest.c conftest.c(14): error: identifier "Syntax" is undefined Syntax error ^ conftest.c(14): error: expected a ";" compilation aborted for conftest.c (code 2) configure:3435: $? = 2 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "FreeType" | #define PACKAGE_TARNAME "freetype" | #define PACKAGE_VERSION "2.4.11" | #define PACKAGE_STRING "FreeType 2.4.11" | #define PACKAGE_BUGREPORT "freetype@nongnu.org" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions c preprocessor define you might have Meta Discuss the workings and policies of this
C Preprocessor If
site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers c preprocessor tutorial or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. http://stackoverflow.com/questions/15041937/configure-error-c-preprocessor-fails-sanity-check Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top C++ preprocessor “/lib/cpp” fails sanity check up vote 9 down vote favorite I need to compile HDF5 ,and after configure process ,i receive http://askubuntu.com/questions/509663/c-preprocessor-lib-cpp-fails-sanity-check/509671 this error: configure: error: C++ preprocessor "/lib/cpp" fails sanity check And I know i have cpp installed on my ubuntu Any help would be really appreciated :) This is the output of dpkg --list | grep compiler ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler ii gcc-4.8 4.8.2-19ubuntu1 amd64 GNU C compiler ii gfortran 4:4.8.2-1ubuntu6 amd64 GNU Fortran 95 compiler ii gfortran-4.8 4.8.2-19ubuntu1 amd64 GNU Fortran compiler ii hardening-includes 2.5ubuntu2 all Makefile for enabling compiler flags for security hardening ii libllvm3.4:amd64 1:3.4-1ubuntu3 amd64 Modular compiler and toolchain technologies, runtime library ii libxkbcommon0:amd64 0.4.1-0ubuntu1 amd64 library interface to the XKB compiler And this is th error i recieve: nazanin@barashka:~/hdf5-1.8.13$ ./configure --with-zlib=/home/nazanin/local --prefix=/home/nazanin/local checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whethe
./configure: error: "/lib/cpp" fails sanity https://forums.opensuse.org/showthread.php/424462-configure-error-C-preprocessor-quot-lib-cpp-quot-fails-sanity-che check SOLVED From: nospam at nospam dot net To: gcc-help at gcc dot gnu dot org Date: Sun, 22 Jan 2006 c preprocessor 13:32:16 -0800 Subject: ./configure: error: "/lib/cpp" fails sanity check SOLVED ./configure: error: "/lib/cpp" fails sanity check This problem was solved by adding a symlink as shown below. configure error c Thanks to Exeon at: http://www.linuxquestions.org/questions/showthread.php?t=124961 He said: >I know this shouldn't be right. >gcc was already installed on my machine but I still got: >C++ preprocessor "/lib/cpp" fails sanity check >I looked at config.log and it said something like: >cc1plus command not found >i found cc1 >/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/cc1 >so I linked it in /usr/bin >ln -s /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/cc1 cc1plus >voila: all working So, I added: asus:/usr/bin# ln -s /usr/lib/gcc/i486-linux-gnu/4.0.3/cc1 cc1plus Volla! Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Nav: [DatePrev][DateNext] [ThreadPrev][ThreadNext]
Help Here Applications configure: error: C preprocessor "/lib/cpp" fails sanity che Welcome! If this is your first visit, be sure to check out the FAQ. You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and Conditions. Results 1 to 2 of 2 Thread: configure: error: C preprocessor "/lib/cpp" fails sanity che Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 31-Oct-2009,05:02 #1 k8oylos View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Apr 2009 Posts 26 configure: error: C preprocessor "/lib/cpp" fails sanity che Hi, This is my system Linux 2.6.27.29-0.1-default i686 openSUSE 11.1 (i586) KDE: 4.3.2 (KDE 4.3.2) "release 2" I have been trying to compile HTK needed for Simon 0,2 to work, but i get this error. It' s the first time i am trying to compile anything, so i might be doing something stupid. I have tried and installed pretty much most of the things that contain gcc, gcc++ and similar words , but i still can't make it work ./configure checking whether make sets $(MAKE)... yes checking for gawk... gawk 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 a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for main in -lX11... yes checking for main in -lm... yes checking how to run the C preprocessor... /lib/cpp con