making 7.10.1
Ben Gamari
ben at smart-cactus.org
Wed May 20 12:33:37 UTC 2015
Sergei Meshveliani <mechvel at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20150520/561dec1d/attachment.sig>
More information about the Glasgow-haskell-users
mailing list