making 7.10.1

Sergei Meshveliani mechvel at botik.ru
Tue May 19 18:59:10 UTC 2015


People,
I am trying to `make'  ghc-7.10.1  from source by  ghc-7.8.3
on Debian Linux.
I command

  > ./configure --prefix=/home/mechvel/haskell/ghc/7.10.1/inst0
   
  > make >& make.log


The former command seems successful:   
  ...
  #define HAVE_EVENTFD 1 #define CC_SUPPORTS_TLS 1

  configure: exit 0


The latter command reports 

---------------------------------------
...
...
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in
`/home/mechvel/haskell/ghc/7.10.1/libffi/build/x86_64-unkn\
own-linux-gnu':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
---------------------------------------

And I do not find in  config.log  anything suspicious about  cpp.
config.log  does have several `error' messages, like, say

  conftest.c:9:28: error: ac_nonexistent.h: No such file or directory

But, probably, they are harmless.

Please, how to fix?

------
Sergei



More information about the Glasgow-haskell-users mailing list