Configure Error C Preprocessor Lib Cpp Fails Sanity Check
Contents |
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 gentoo configure error c preprocessor lib cpp fails sanity check to any questions you might have Meta Discuss the workings and configure error c preprocessor lib cpp fails sanity check solaris policies of this site About Us Learn more about Stack Overflow the company Business Learn fedora configure error c preprocessor lib cpp fails sanity check more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer configure error c preprocessor lib cpp fails sanity check solaris 10 site for Ubuntu users and developers. 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
Configure Error C Preprocessor Lib Cpp Fails Sanity Check Centos
compile HDF5 ,and after configure process ,i receive 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 checki
fails sanity check General support questions including
Configure Error C Preprocessor Lib Cpp Fails Sanity Check Os X
new installations Post Reply Print view Search Advanced checking how to run the c preprocessor lib cpp search 3 posts • Page 1 of 1 idealnet Posts: 1 Joined: 2006/12/29 debian configure error c preprocessor lib cpp fails sanity check 12:02:00 C preprocessor "/lib/cpp" fails sanity check Quote Postby idealnet » 2006/12/29 12:12:41 Hello, I'm trying to compile the latest apache http://askubuntu.com/questions/509663/c-preprocessor-lib-cpp-fails-sanity-check/509671 version under CentOS 4.4 but after I' running ./configure I get:checking whether make sets $(MAKE)... yeschecking how to run the C preprocessor... /lib/cppconfigure: error: C preprocessor "/lib/cpp" fails sanity checkSee `config.log' for more details.configure failed for srclib/aprI have installed the gcc-c++ package.Can anybody http://www.centos.org/forums/viewtopic.php?t=35015 help me?Below I attachd the config.log file!byeuli#--------------------------------------------------------------------------------This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by configure, which wasgenerated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- #### Platform. #### --------- ##hostname = ray.idnetuname -m = i686uname -r = 2.6.9-42.0.3.ELsmpuname -s = Linuxuname -v = #1 SMP Fri Oct 6 06:21:39 CDT 2006/usr/bin/uname -p = unknown/bin/uname -X = unknown/bin/arch = i686/usr/bin/arch -k = unknown/usr/convex/getsysinfo = unknownhostinfo = unknown/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknownPATH: /usr/kerberos/sbinPATH: /usr/kerberos/binPATH: /usr/local/sbinPATH: /usr/local/binPATH: /sbinPATH: /binPATH: /usr/sbinPATH: /usr/binPATH: /usr/X11R6/binPATH: /root/binPATH: /root/bin## ----------- #### Core tests. #### ----------- ##configure:1657: checking for chosen layoutconfigure:1659: result: Apacheconfigure:2455: checking for working mkdir -pconfigure:2471: result: yesconfigure:2488: checking build system typeconfigure:2506: result: i686-pc-linux-
Support https://github.com/crosstool-ng/crosstool-ng/issues/327 Search GitHub This repository Watch 49 Star 324 Fork 146 crosstool-ng/crosstool-ng Code Issues 36 Pull requests 22 Projects 0 https://ubuntuforums.org/showthread.php?t=1203894 Pulse Graphs New issue [ERROR] configure: error: C preprocessor "/lib/cpp" fails sanity check #327 Closed M2shad0w opened this Issue c preprocessor Jan 30, 2016 · 11 comments Projects None yet Labels None yet Milestone No milestone Assignees bhundven 3 participants M2shad0w commented Jan 30, 2016 when i build crosstools-ng for esp8266, it raises this error, anyone help? [ALL ] checking c preprocessor lib for suffix of object files... o [ALL ] checking whether we are using the GNU C compiler... yes [ALL ] checking whether /Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-core-pass-2/./gcc/xgcc -B/Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-core-pass-2/./gcc/ -B/Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/bin/ -B/Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/lib/ -isystem /Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/include -isystem /Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/sys-include accepts -g... yes [ALL ] checking for /Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-core-pass-2/./gcc/xgcc -B/Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-core-pass-2/./gcc/ -B/Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/bin/ -B/Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/lib/ -isystem /Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/include -isystem /Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/buildtools/xtensa-lx106-elf/sys-include option to accept ISO C89... unsupported [ALL ] checking how to run the C preprocessor... /lib/cpp [ERROR] configure: error: in `/Volumes/esp-open-sdk/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-core-pass-2/xtensa-lx106-elf/libgcc': [ERROR] configure: error: C preprocessor "/lib/cpp" fails sanity check [ALL ] See `config.log' for more details. [ERROR] make[3]: *** [configure-target-libgcc] Error 1 [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing pass-2 core C compiler' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error ha
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs cpp fails sanity check Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 7 of 7 Thread: cpp fails sanity check Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode July 4th, 2009 #1 mslate View Profile View Forum Posts Private Message Spilled the Beans Join Date Dec 2008 Location Socal, USA Beans 12 DistroKubuntu 9.04 Jaunty Jackalope cpp fails sanity check C preprocessor "/lib/cpp" fails sanity check As I try to compile (downloaded) programs from source using the "configure" command, I always run into this error. In my config.log file, there are these abbreviated lines about failing to find the stdio.h header file: ... 108 configure:3447: gcc -c -g -O2 conftest.c >&5 109 conftest.c:11:19: error: stdio.h: No such file or directory 110 conftest.c:12:23: error: sys/types.h: No such file or directory 111 conftest.c:13:22: error: sys/stat.h: No such file or directory 112 conftest.c:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 113 conftest.c:50: error: expected declaration specifiers or '...' before 'FILE' 114 configure:3453: $? = 1 115 configure: failed program was: 116 | /* confdefs.h. */ 117 | #define PACKAGE_NAME "" ... I am aware that others have posted (multiple times) in forums about this error, but as far as I can tell my gcc compiler exists and doesn't need to be updated. I've run both: sudo aptitude install build-essential sudo aptitude update What am I missing (or how can I tell if it's missing)? Adv Reply July 4th, 2009 #2 johnl View Profile View Forum Posts Private Message Cookies and cream Join Date Apr 2006 Location Atlanta, USA Beans 427 Re: cpp fails sanity check Hi, Try making sure that the package 'libc6-dev' is installed. Here we are, trapped in the amber of the moment. There is no why. Adv Reply July 4th, 2009 #3 mslate View Profile View Forum Posts Private Message Spilled the Beans Join Date Dec 2008 Location Socal, USA Beans 12 DistroKubuntu 9.04 Jau