cabal install unix-compat fails with ghc-7.0.1-rc2
I get an error when installing unix-compat
with GHC-7.0.1-rc2:
$ cabal install unix-compat
Resolving dependencies...
Configuring unix-compat-0.2.1.1...
cabal: Missing dependency on a foreign library:
* Missing header file: HsUnixCompat.h
Ian requested showing the output of some commands. The attached log.txt
contains the output.
Ian also requested trying with a cabal-install
build with this latest release. Unfortunately cabal installing cabal-install
fails with:
$ cabal install cabal-install
Resolving dependencies...
cabal: dependencies conflict: process-1.0.1.5 requires directory ==1.1.0.0
however
directory-1.1.0.0 was excluded because Cabal-1.8.0.6 requires directory >=1 && <1.1
directory-1.1.0.0 was excluded because cabal-install-0.8.2 requires directory >=1 && <1.1
So I installed the HEAD version of cabal-install
:
$ cabal --version
cabal-install version 0.9.6
using version 1.10.1.0 of the Cabal library
Unfortunately I get the same error:
$ cabal install unix-compat
Resolving dependencies...
Configuring unix-compat-0.2.1.1...
cabal: Missing dependency on a foreign library:
* Missing (or bad) header file: HsUnixCompat.h
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
If the header file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
cabal: Error: some packages failed to install:
unix-compat-0.2.1.1 failed during the configure step. The exception was:
ExitFailure 1
Trac metadata
Trac field | Value |
---|---|
Version | 7.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |