<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: configure: error: C++ preprocessor &#8220;/lib/cpp&#8221; fails sanity check</title>
	<atom:link href="http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/</link>
	<description></description>
	<lastBuildDate>Fri, 02 Dec 2011 08:32:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: vps hosting</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-12405</link>
		<dc:creator>vps hosting</dc:creator>
		<pubDate>Sat, 05 Nov 2011 17:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-12405</guid>
		<description>It&#039;s really a great and useful piece of info. I&#039;m satisfied that you shared this useful info with us. Please stay us up to date like this. Thank you for sharing.</description>
		<content:encoded><![CDATA[<p>It&#8217;s really a great and useful piece of info. I&#8217;m satisfied that you shared this useful info with us. Please stay us up to date like this. Thank you for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-3595</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Mon, 27 Dec 2010 06:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-3595</guid>
		<description>thanks it works great on me....</description>
		<content:encoded><![CDATA[<p>thanks it works great on me&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maxim</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-680</link>
		<dc:creator>Maxim</dc:creator>
		<pubDate>Sat, 24 Apr 2010 12:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-680</guid>
		<description>Thanks for the solution!</description>
		<content:encoded><![CDATA[<p>Thanks for the solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinicius (Danone)</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-625</link>
		<dc:creator>Vinicius (Danone)</dc:creator>
		<pubDate>Tue, 30 Mar 2010 17:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-625</guid>
		<description>Hi All!
Please check this files:
/usr/include/sys/
My problem was that!!!
Regards: Vinicius (Danone)</description>
		<content:encoded><![CDATA[<p>Hi All!<br />
Please check this files:<br />
/usr/include/sys/<br />
My problem was that!!!<br />
Regards: Vinicius (Danone)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suggessions</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-616</link>
		<dc:creator>suggessions</dc:creator>
		<pubDate>Fri, 05 Mar 2010 06:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-616</guid>
		<description>[...] provided by Trend Micro that can be burned to CD and doesn&#039;t need an internet connection to work.configure: error: C++ preprocessor /lib/cpp fails sanity ...Hello, If you having trouble compiling any application manually using configure , here simple fix [...]</description>
		<content:encoded><![CDATA[<p>[...] provided by Trend Micro that can be burned to CD and doesn&#39;t need an internet connection to work.configure: error: C++ preprocessor /lib/cpp fails sanity &#8230;Hello, If you having trouble compiling any application manually using configure , here simple fix [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-597</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sun, 15 Nov 2009 14:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-597</guid>
		<description>Thanks, this has really helped me in installing ProFTPd, great post!</description>
		<content:encoded><![CDATA[<p>Thanks, this has really helped me in installing ProFTPd, great post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohanraj</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-563</link>
		<dc:creator>Mohanraj</dc:creator>
		<pubDate>Thu, 21 May 2009 11:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-563</guid>
		<description>&lt;a href=&quot;#comment-538&quot; rel=&quot;nofollow&quot;&gt;@Alex P &lt;/a&gt; 
Hi Alex,

Thanks for the suggession... in our organisation we have similar server &amp; almost (ALMOST) same configuration in 30 locations and in some of the server it was installing w/o problem... and only in some server it creating problem... so I asked the respective admins about the LINUX installation and where ever there is no problem they had installed &quot;every thing&quot; from the CD.. where ever there is problem it was &quot;custome&quot; installation... so I figured out the problem and installed the folliwng:

glibc-kernheaders
glibc-headers
glibc-common
glibc-profile
glibc-utils
glibc
gclibc-devel

since it was the problem with c compiler... i randomly installed all glibc things from the CD... then i compile httpd-2.2.0 and configured... this time it was very well OK....

Thanks for all for the suggessions 

-Mohanraj.S</description>
		<content:encoded><![CDATA[<p><a href="#comment-538" rel="nofollow">@Alex P </a><br />
Hi Alex,</p>
<p>Thanks for the suggession&#8230; in our organisation we have similar server &amp; almost (ALMOST) same configuration in 30 locations and in some of the server it was installing w/o problem&#8230; and only in some server it creating problem&#8230; so I asked the respective admins about the LINUX installation and where ever there is no problem they had installed &#8220;every thing&#8221; from the CD.. where ever there is problem it was &#8220;custome&#8221; installation&#8230; so I figured out the problem and installed the folliwng:</p>
<p>glibc-kernheaders<br />
glibc-headers<br />
glibc-common<br />
glibc-profile<br />
glibc-utils<br />
glibc<br />
gclibc-devel</p>
<p>since it was the problem with c compiler&#8230; i randomly installed all glibc things from the CD&#8230; then i compile httpd-2.2.0 and configured&#8230; this time it was very well OK&#8230;.</p>
<p>Thanks for all for the suggessions </p>
<p>-Mohanraj.S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex P</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-538</link>
		<dc:creator>Alex P</dc:creator>
		<pubDate>Tue, 05 May 2009 19:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-538</guid>
		<description>Hello Mohanraj,

Could you please try to reinstall gcc, gcc-c++, cpp package as well as all relative dependencies.
Hope it will be work after that,Still if you have any issue let me know.

Regards
Alex P</description>
		<content:encoded><![CDATA[<p>Hello Mohanraj,</p>
<p>Could you please try to reinstall gcc, gcc-c++, cpp package as well as all relative dependencies.<br />
Hope it will be work after that,Still if you have any issue let me know.</p>
<p>Regards<br />
Alex P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohanraj</title>
		<link>http://linuxwindowsmaster.com/configure-error-c-preprocessor-libcpp-fails-sanity-check/comment-page-1/#comment-537</link>
		<dc:creator>Mohanraj</dc:creator>
		<pubDate>Mon, 04 May 2009 12:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://linuxwindowsmaster.com/?p=283#comment-537</guid>
		<description>Hi,
I have similar problem with RHEL-4 Update6 when trying to install httpd-2.2.0.

I have Acer G540 Server with RHEL 4 Update 6 + Oracle 10 g Installed. Some applications required web server and i have downloaded httpd-2.2.0 and installed with the following configure option.

#configure --enable-so

I received the following error at the end...
-------------------------------------------------
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor &quot;/lib/cpp&quot; fails sanity check
See `config.log&#039; for more details.
configure failed for srclib/apr
--------------------------------------------------

I have gcc-3.4.3EL4 and gcc-c++-3.4.3-9EL4 installed

#c++ -v or g++ -v gives the following result:

Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)

# rpm -qa &#124; grep c++ gives the following:

compat-libstdc++-33-3.2.3-47.3
gcc-c++-3.4.6-9
compat-libstdc++-296-2.96-132.7.2
gcc4-c++-4.1.2-14.EL4
compat-gcc-32-c++-3.2.3-47.3
libstdc++-3.4.6-9
libstdc++-devel-3.4.6-9

# ls -l /lib/cpp Gives the following

lrwxrwxrwx  1 root root 14 Sep 18  2008 /lib/cpp -&gt; ../usr/bin/cpp

-----------------------------------------------------------------------

Below is the entire out put of configure --enable-so command:

root&#124;C:/usr/local/httpd-2.2.0&gt; ./configure --enable-so

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.2.2
checking for chosen layout... apr
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
Applying APR hints file rules for i686-pc-linux-gnu
  setting CPPFLAGS to &quot;-DLINUX=2&quot;
  adding &quot;-D_REENTRANT&quot; to CPPFLAGS
  adding &quot;-D_GNU_SOURCE&quot; to CPPFLAGS
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor &quot;/lib/cpp&quot; fails sanity check
See `config.log&#039; for more details.
configure failed for srclib/apr
---------------------------------------------------------------
I tried the net and our linuxQuestions.org but no particular solution for RHEL...
Kindly someone help me to solve the problem please...

Thanks &amp; Regards,

Mohanraj.S</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have similar problem with RHEL-4 Update6 when trying to install httpd-2.2.0.</p>
<p>I have Acer G540 Server with RHEL 4 Update 6 + Oracle 10 g Installed. Some applications required web server and i have downloaded httpd-2.2.0 and installed with the following configure option.</p>
<p>#configure &#8211;enable-so</p>
<p>I received the following error at the end&#8230;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
checking how to run the C preprocessor&#8230; /lib/cpp<br />
configure: error: C preprocessor &#8220;/lib/cpp&#8221; fails sanity check<br />
See `config.log&#8217; for more details.<br />
configure failed for srclib/apr<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>I have gcc-3.4.3EL4 and gcc-c++-3.4.3-9EL4 installed</p>
<p>#c++ -v or g++ -v gives the following result:</p>
<p>Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs<br />
Configured with: ../configure &#8211;prefix=/usr &#8211;mandir=/usr/share/man &#8211;infodir=/usr/share/info &#8211;enable-shared &#8211;enable-threads=posix &#8211;disable-checking &#8211;with-system-zlib &#8211;enable-__cxa_atexit &#8211;disable-libunwind-exceptions &#8211;enable-java-awt=gtk &#8211;host=i386-redhat-linux<br />
Thread model: posix<br />
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)</p>
<p># rpm -qa | grep c++ gives the following:</p>
<p>compat-libstdc++-33-3.2.3-47.3<br />
gcc-c++-3.4.6-9<br />
compat-libstdc++-296-2.96-132.7.2<br />
gcc4-c++-4.1.2-14.EL4<br />
compat-gcc-32-c++-3.2.3-47.3<br />
libstdc++-3.4.6-9<br />
libstdc++-devel-3.4.6-9</p>
<p># ls -l /lib/cpp Gives the following</p>
<p>lrwxrwxrwx  1 root root 14 Sep 18  2008 /lib/cpp -&gt; ../usr/bin/cpp</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Below is the entire out put of configure &#8211;enable-so command:</p>
<p>root|C:/usr/local/httpd-2.2.0&gt; ./configure &#8211;enable-so</p>
<p>checking for chosen layout&#8230; Apache<br />
checking for working mkdir -p&#8230; yes<br />
checking build system type&#8230; i686-pc-linux-gnu<br />
checking host system type&#8230; i686-pc-linux-gnu<br />
checking target system type&#8230; i686-pc-linux-gnu</p>
<p>Configuring Apache Portable Runtime library &#8230;</p>
<p>checking for APR&#8230; reconfig<br />
configuring package in srclib/apr now<br />
checking build system type&#8230; i686-pc-linux-gnu<br />
checking host system type&#8230; i686-pc-linux-gnu<br />
checking target system type&#8230; i686-pc-linux-gnu<br />
Configuring APR library<br />
Platform: i686-pc-linux-gnu<br />
checking for working mkdir -p&#8230; yes<br />
APR Version: 1.2.2<br />
checking for chosen layout&#8230; apr<br />
checking for gcc&#8230; gcc<br />
checking for C compiler default output file name&#8230; a.out<br />
checking whether the C compiler works&#8230; yes<br />
checking whether we are cross compiling&#8230; no<br />
checking for suffix of executables&#8230;<br />
checking for suffix of object files&#8230; o<br />
checking whether we are using the GNU C compiler&#8230; yes<br />
checking whether gcc accepts -g&#8230; yes<br />
checking for gcc option to accept ANSI C&#8230; none needed<br />
Applying APR hints file rules for i686-pc-linux-gnu<br />
  setting CPPFLAGS to &#8220;-DLINUX=2&#8243;<br />
  adding &#8220;-D_REENTRANT&#8221; to CPPFLAGS<br />
  adding &#8220;-D_GNU_SOURCE&#8221; to CPPFLAGS<br />
(Default will be unix)<br />
checking whether make sets $(MAKE)&#8230; yes<br />
checking how to run the C preprocessor&#8230; /lib/cpp<br />
configure: error: C preprocessor &#8220;/lib/cpp&#8221; fails sanity check<br />
See `config.log&#8217; for more details.<br />
configure failed for srclib/apr<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
I tried the net and our linuxQuestions.org but no particular solution for RHEL&#8230;<br />
Kindly someone help me to solve the problem please&#8230;</p>
<p>Thanks &amp; Regards,</p>
<p>Mohanraj.S</p>
]]></content:encoded>
	</item>
</channel>
</rss>

