<div dir="ltr"><div>Installation of Alex in the msys2 i686 instructions is broken, more details in <a href="https://ghc.haskell.org/trac/ghc/ticket/9712">https://ghc.haskell.org/trac/ghc/ticket/9712</a>. Before I spend more time on this, maybe someone knows off the bat what's going on?</div><div><br></div><div>$ cabal install alex<br></div><div><div>Resolving dependencies...</div><div>Downloading primitive-0.5.4.0...</div><div>Configuring primitive-0.5.4.0...</div><div>Failed to install primitive-0.5.4.0</div><div>Build log ( C:\Users\Gintas\AppData\Roaming\cabal\logs\primitive-0.5.4.0.log ):</div><div>[1 of 1] Compiling Main ( C:\Users\Gintas\Downloads\msys32\tmp\primitive-0.5.4.0-2404\primitive-0.5.4.0\dist\setup\setup.hs, C:\Users\Gintas\Downloads\msys32\tmp\primitive-0.5.4.0-2404\primitive-0.5.4.0\dist\setup\Main.o )</div><div>Linking C:\Users\Gintas\Downloads\msys32\tmp\primitive-0.5.4.0-2404\primitive-0.5.4.0\dist\setup\setup.exe ...</div><div>Configuring primitive-0.5.4.0...</div><div>setup-Simple-Cabal-1.18.1.3-i386-windows-ghc-7.8.3.exe: Missing dependency on</div><div>a foreign library:</div><div>* Missing (or bad) header file: primitive-memops.h</div><div>This problem can usually be solved by installing the system package that</div><div>provides this library (you may need the "-dev" version). If the library is</div><div>already installed but in a non-standard location then you can use the flags</div><div>--extra-include-dirs= and --extra-lib-dirs= to specify where it is.</div><div>If the header file does exist, it may contain errors that are caught by the C</div><div>compiler at the preprocessing stage. In this case you can re-run configure</div><div>with the verbosity flag -v3 to see the error messages.</div></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Gintautas Miliauskas</div>
</div>