Problem with installing "primitive" on Windows/i686

Gintautas Miliauskas gintautas.miliauskas at
Sun Nov 2 22:53:32 UTC 2014

Installation of Alex in the msys2 i686 instructions is broken, more details
in Before I spend more time
on this, maybe someone knows off the bat what's going on?

$ cabal install alex
Resolving dependencies...
Downloading primitive-
Configuring primitive-
Failed to install primitive-
Build log (
C:\Users\Gintas\AppData\Roaming\cabal\logs\primitive- ):
[1 of 1] Compiling Main             (
Configuring primitive-
setup-Simple-Cabal- Missing dependency
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
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.

Gintautas Miliauskas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list