Leigh Rodney
2013-May-27 03:52 UTC
[Icecast] configure: error: C++ preprocessor "/lib/cpp" fails sanity check
[root at localhost IceCast]# cd libvorbis [root at localhost libvorbis]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no 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 ANSI C... none needed checking how to run the C preprocessor... gcc -E checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes 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... 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 how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. [root at localhost libvorbis]# -- Thanks Leigh Rodney Founder/ Systems Administrator leighrodney at globeteck.com (347) 838-2648 Office (866) 657-7227 Toll Free (866) 591-8747 Fax www.globeteck.com -------------- next part -------------- A non-text attachment was scrubbed... Name: libvorbis.zip Type: application/zip Size: 1378623 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/icecast/attachments/20130526/ae7da64d/attachment.zip> -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: text/x-makefile Size: 6632 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/icecast/attachments/20130526/ae7da64d/attachment.bin>
"Thomas B. Rücker"
2013-May-27 05:28 UTC
[Icecast] configure: error: C++ preprocessor "/lib/cpp" fails sanity check
On 05/27/2013 03:52 AM, Leigh Rodney wrote:> configure: error: C++ preprocessor "/lib/cpp" fails sanity checkWell, there's your problem as you correctly guessed. As you don't give any additional information I can only speculate. Please check, that your build environment is set up properly, especially g++. Refer to your distribution's documentation for that. Also note, that there are Icecast packages for most popular distributions readily available, so usually there's no need to compile it from source. Cheers Thomas PS: please subscribe to the mailing list to ensure you receive the whole discussion and your mails don't get held up in moderation.