Sergei Meshveliani <mech...@botik.ru> writes:

> 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
> ---------------------------------------
>
What does `which cpp` output? I would expect to find it in `/usr/bin`,
not `/lib`. Are you certain you have Debian's `build-essential` package
installed?

Cheers,

- Ben

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users

Reply via email to