Dear Icecast community, I am trying to install Icecast 2.2 on a new server running FC2. At the start there was no GCC installed. I solved that using up2date. Still I am getting no luck with the ./configure command. The error message "configure: error: C++ preprocessor "/lib/cpp" fails sanity check" doesn't make sense to me. I hope somebody can help me to overcome this hurdle. Thanks in advance, Below the screen output of the configure command .... RoN checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-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 how to run the C preprocessor... gcc -E 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 dependency style of g++... none checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 3-8-2005
On Fri, 2005-08-05 at 01:25, Ron Blok wrote:> Dear Icecast community, > > I am trying to install Icecast 2.2 on a new server running FC2. > At the start there was no GCC installed. I solved that using up2date. > Still I am getting no luck with the ./configure command. > The error message "configure: error: C++ preprocessor "/lib/cpp" fails > sanity check" doesn't make sense to me. > I hope somebody can help me to overcome this hurdle.This looks to be down to the version of autoconf that was used to build the distribution, it's checking for C++ (something icecast doesn't use) automatically and failing in your case. I've rebuilt the tar for 2.2.0 using a new autoconf, can you try that http://mediacast1.com/~karl/testing/icecast-2.2.0.tar.gz let me know how that goes for you karl.
Karl, I was away a few day's .... Just before I left I was able to get the icecast config script running. I installed some kernel headers and additional c++ stuff ...and suddenly it worked. I have to install another icecast server in the near future and will try the suggested tar for 2.2.0. Thanks! RoN -----Original Message----- From: Karl Heyes [mailto:karl@xiph.org] Sent: vrijdag 5 augustus 2005 3:02 To: Ron Blok Cc: icecast Subject: Re: [Icecast] Installation problem On Fri, 2005-08-05 at 01:25, Ron Blok wrote:> Dear Icecast community, > > I am trying to install Icecast 2.2 on a new server running FC2. > At the start there was no GCC installed. I solved that using up2date. > Still I am getting no luck with the ./configure command. > The error message "configure: error: C++ preprocessor "/lib/cpp" fails > sanity check" doesn't make sense to me. > I hope somebody can help me to overcome this hurdle.This looks to be down to the version of autoconf that was used to build the distribution, it's checking for C++ (something icecast doesn't use) automatically and failing in your case. I've rebuilt the tar for 2.2.0 using a new autoconf, can you try that http://mediacast1.com/~karl/testing/icecast-2.2.0.tar.gz let me know how that goes for you karl. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 4-8-2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 9-8-2005