Changes between Version 21 and Version 22 of Building/Troubleshooting


Ignore:
Timestamp:
Sep 1, 2009 11:05:11 AM (5 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Troubleshooting

    v21 v22  
    66 
    77We don't expect anyone to read this page from beginning to end.  The only way you get here is by searching, so remember when adding a new entry the most important thing to do is to '''include the error message verbatim''', so searches will find it.  If a build failure is caused by a bug in GHC or the build system, please link to the ticket number so we can tell when it's safe to remove the entry and keep this page from getting too crufty. 
     8 
     9== configure: error: C++ preprocessor "/lib/cpp" fails sanity check == 
     10 
     11On Windows, if you see this error when building GHC: 
     12 
     13{{{ 
     14checking how to run the C++ preprocessor... /lib/cpp 
     15configure: error: C++ preprocessor "/lib/cpp" fails sanity check 
     16See `config.log' for more details. 
     17make[1]: *** [libffi/stamp.ffi.configure] Error 1 
     18}}} 
     19 
     20then you probably have the Microsoft C compiler in your `PATH`, and this has confused the `configure` script for `libffi`.  Try editing your `PATH` so that it no longer points to the MS compilers and tools. 
    821 
    922== haddock: internal Haddock or GHC error: Data.Binary.getWord8: end of file ==