#4974: cabal install unix-compat fails with ghc-7.0.1-rc2
---------------------------------+------------------------------------------
Reporter: basvandijk | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Other
---------------------------------+------------------------------------------
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 [http://www.haskell.org/pipermail/glasgow-haskell-
users/2011-February/020066.html 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
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4974>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs