[Haskell-cafe] GHC-7.8.2 & Win

Cédric Chantepie chantepie at altern.org
Fri Apr 18 21:18:01 UTC 2014


Hi,

Try to setup GHC 7.8.2 & cabal 1.8 on Windows (7/64bits), using binary 
distributions from haskell.org I get error when I try to install glib 
package using cabal :

cabal: Missing dependency on a foreign library:
* Missing (or bad) header file: primitive-memops.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.
Failed to install primitive-0.5.2.1
cabal: Error: some packages failed to install:

Command cabal install primitive raise the same error.

I have tried either within cygwin or from plain cmd.

Thanks for any hint, best.


More information about the Haskell-Cafe mailing list