# sanity check error

**URL:** <https://forum.hdfgroup.org/t/sanity-check-error/1391>\
**Category:** Hdf-forum archives\
**Created:** [August 14, 2009, 1:56am UTC](https://forum.hdfgroup.org/t/sanity-check-error/1391 "2009-08-14T01:56:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimitry\_Ayzenberg](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/d/57b2e6/32.png) [@Dimitry\_Ayzenberg](https://forum.hdfgroup.org/u/Dimitry_Ayzenberg)\
**Post date:** [August 14, 2009, 1:56am UTC](https://forum.hdfgroup.org/t/sanity-check-error/1391/1 "2009-08-14T01:56:37Z")

</div>

I'm trying to configure hdf5 through cygwin on vista and I'm getting an  
error saying that: C++ preprocessor "/lib/cpp" fails sanity check. I was  
wondering if anyone could help me out with why that's coming up. I have  
installed g++ into cygwin and everything else that hdf5 should need. I  
didn't email the helpdesk because I figure I'll get a faster response from  
here. Thanks for any help.

> **···**
>
> --  
> Dimitry Ayzenberg  
> Carnegie Mellon University  
> Physics - Class of 2012  
> Email: dayzenbe@andrew.cmu.edu

---

<div class="post-metadata">

**Author:** ![epourmal](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/e/c67d28/32.png) [@epourmal](https://forum.hdfgroup.org/u/epourmal)\
**Post date:** [August 14, 2009, 2:08am UTC](https://forum.hdfgroup.org/t/sanity-check-error/1391/2 "2009-08-14T02:08:05Z")

</div>

Dimitry,

Did you set any CPP flags before doing configure? (don't do it)

Please also see instructions in the release\_docs directory, the INSTALL\_Cygwin.txt file

Elena

> **···**
>
> On Aug 13, 2009, at 8:56 PM, Dimitry Ayzenberg wrote:
> 
> > I'm trying to configure hdf5 through cygwin on vista and I'm getting an  
> > error saying that: C++ preprocessor "/lib/cpp" fails sanity check. I was  
> > wondering if anyone could help me out with why that's coming up. I have  
> > installed g++ into cygwin and everything else that hdf5 should need. I  
> > didn't email the helpdesk because I figure I'll get a faster response from  
> > here. Thanks for any help.
> > 
> > --  
> > Dimitry Ayzenberg  
> > Carnegie Mellon University  
> > Physics - Class of 2012  
> > Email: dayzenbe@andrew.cmu.edu
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)

---

<div class="post-metadata">

**Author:** ![Dimitry\_Ayzenberg](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/d/57b2e6/32.png) [@Dimitry\_Ayzenberg](https://forum.hdfgroup.org/u/Dimitry_Ayzenberg)\
**Post date:** [August 14, 2009, 2:24am UTC](https://forum.hdfgroup.org/t/sanity-check-error/1391/3 "2009-08-14T02:24:36Z")

</div>

No I didn't set any flags and I looked at those instructions. They don't  
really say much. I just need a basic install anyway. Do you want me to  
post the config.log file?

> **···**
>
> On Thu, August 13, 2009 22:08, Elena Pourmal wrote:
> 
> > Dimitry,
> > 
> > Did you set any CPP flags before doing configure? (don't do it)
> > 
> > Please also see instructions in the release\_docs directory, the  
> > INSTALL\_Cygwin.txt file
> > 
> > Elena  
> > On Aug 13, 2009, at 8:56 PM, Dimitry Ayzenberg wrote:
> > 
> > > I'm trying to configure hdf5 through cygwin on vista and I'm getting  
> > > an error saying that: C++ preprocessor "/lib/cpp" fails sanity check. I  
> > > was wondering if anyone could help me out with why that's coming up. I  
> > > have installed g++ into cygwin and everything else that hdf5 should  
> > > need. I didn't email the helpdesk because I figure I'll get a faster  
> > > response from here. Thanks for any help.
> > > 
> > > --  
> > > Dimitry Ayzenberg  
> > > Carnegie Mellon University  
> > > Physics - Class of 2012  
> > > Email: dayzenbe@andrew.cmu.edu
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > Hdf-forum is for HDF software users discussion.  
> > > Hdf-forum@hdfgroup.org  
> > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> 
> --  
> Dimitry Ayzenberg  
> Carnegie Mellon University  
> Physics - Class of 2012  
> Cell:(732)-425-4534  
> Email: dayzenbe@andrew.cmu.edu

---

<div class="post-metadata">

**Author:** ![Dimitry\_Ayzenberg](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/d/57b2e6/32.png) [@Dimitry\_Ayzenberg](https://forum.hdfgroup.org/u/Dimitry_Ayzenberg)\
**Post date:** [August 14, 2009, 3:45am UTC](https://forum.hdfgroup.org/t/sanity-check-error/1391/4 "2009-08-14T03:45:16Z")

</div>

So I found that the problem is that the configuration is looking for  
lib/cpp but no such file exists in lib. I don't know how to fix that  
though.

> **···**
>
> On Thu, August 13, 2009 22:08, Elena Pourmal wrote:
> 
> > Dimitry,
> > 
> > Did you set any CPP flags before doing configure? (don't do it)
> > 
> > Please also see instructions in the release\_docs directory, the  
> > INSTALL\_Cygwin.txt file
> > 
> > Elena  
> > On Aug 13, 2009, at 8:56 PM, Dimitry Ayzenberg wrote:
> > 
> > > I'm trying to configure hdf5 through cygwin on vista and I'm getting  
> > > an error saying that: C++ preprocessor "/lib/cpp" fails sanity check. I  
> > > was wondering if anyone could help me out with why that's coming up. I  
> > > have installed g++ into cygwin and everything else that hdf5 should  
> > > need. I didn't email the helpdesk because I figure I'll get a faster  
> > > response from here. Thanks for any help.
> > > 
> > > --  
> > > Dimitry Ayzenberg  
> > > Carnegie Mellon University  
> > > Physics - Class of 2012  
> > > Email: dayzenbe@andrew.cmu.edu
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > Hdf-forum is for HDF software users discussion.  
> > > Hdf-forum@hdfgroup.org  
> > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> 
> --  
> Dimitry Ayzenberg  
> Carnegie Mellon University  
> Physics - Class of 2012  
> Cell:(732)-425-4534  
> Email: dayzenbe@andrew.cmu.edu

---

<div class="post-metadata">

**Author:** ![epourmal](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/e/c67d28/32.png) [@epourmal](https://forum.hdfgroup.org/u/epourmal)\
**Post date:** [August 14, 2009, 2:09pm UTC](https://forum.hdfgroup.org/t/sanity-check-error/1391/5 "2009-08-14T14:09:47Z")

</div>

Please send output of configure and config.log file to help@hdfgroup.org.

Please also tell us versions of HDF5, cygwin and gcc compiler you are using.

Thank you!

Elena

> **···**
>
> On Aug 13, 2009, at 10:45 PM, Dimitry Ayzenberg wrote:
> 
> > So I found that the problem is that the configuration is looking for  
> > lib/cpp but no such file exists in lib. I don't know how to fix that  
> > though.
> > 
> > On Thu, August 13, 2009 22:08, Elena Pourmal wrote:
> > 
> > > Dimitry,
> > > 
> > > Did you set any CPP flags before doing configure? (don't do it)
> > > 
> > > Please also see instructions in the release\_docs directory, the  
> > > INSTALL\_Cygwin.txt file
> > > 
> > > Elena  
> > > On Aug 13, 2009, at 8:56 PM, Dimitry Ayzenberg wrote:
> > > 
> > > > I'm trying to configure hdf5 through cygwin on vista and I'm getting  
> > > > an error saying that: C++ preprocessor "/lib/cpp" fails sanity check. I  
> > > > was wondering if anyone could help me out with why that's coming up. I  
> > > > have installed g++ into cygwin and everything else that hdf5 should  
> > > > need. I didn't email the helpdesk because I figure I'll get a faster  
> > > > response from here. Thanks for any help.
> > > > 
> > > > --  
> > > > Dimitry Ayzenberg  
> > > > Carnegie Mellon University  
> > > > Physics - Class of 2012  
> > > > Email: dayzenbe@andrew.cmu.edu
> > > > 
> > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > Hdf-forum is for HDF software users discussion.  
> > > > Hdf-forum@hdfgroup.org  
> > > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > Hdf-forum is for HDF software users discussion.  
> > > Hdf-forum@hdfgroup.org  
> > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > 
> > --  
> > Dimitry Ayzenberg  
> > Carnegie Mellon University  
> > Physics - Class of 2012  
> > Cell:(732)-425-4534  
> > Email: dayzenbe@andrew.cmu.edu
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
