Closed
Description
Log
2020-02-17 20:55:41.773663: [info] regex-posix > build
2020-02-17 20:55:41.773663: [debug] Run process within C:\Users\nutr1\AppData\Local\Temp\stack7508\regex-posix-0.96.0.0\: C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_3.0.1.0_ghc-8.8.2.exe --builddir=.stack-work\dist\29cc6475 build --ghc-options " -fdiagnostics-color=always"
2020-02-17 20:55:42.100248: [info] regex-posix > Preprocessing library for regex-posix-0.96.0.0..
2020-02-17 20:55:42.374347: [warn] regex-posix > C:\Users\nutr1\AppData\Local\Temp\stack7508\regex-posix-0.96.0.0\Wrap.hsc:96:10: fatal error: regex.h: No such file or directory
2020-02-17 20:55:42.377341: [warn] regex-posix > compilation terminated.
2020-02-17 20:55:42.394314: [warn] regex-posix > compiling .stack-work\dist\29cc6475\build\Text\Regex\Posix\Wrap_hsc_make.c failed (exit code 1)
2020-02-17 20:55:42.489164: [warn] regex-posix > command was: C:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib\../mingw/bin\gcc.exe -c .stack-work\dist\29cc6475\build\Text\Regex\Posix\Wrap_hsc_make.c -o .stack-work\dist\29cc6475\build\Text\Regex\Posix\Wrap_hsc_make.o -D__GLASGOW_HASKELL__=808 -Dmingw32_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dmingw32_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include -I.stack-work\dist\29cc6475\build\cbits -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include -I.stack-work\dist\29cc6475\build\autogen -I.stack-work\dist\29cc6475\build\global-autogen -include .stack-work\dist\29cc6475\build\autogen\cabal_macros.h -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib\bytestring-0.10.10.0\include -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib\base-4.13.0.0\include -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib\integer-gmp-1.0.2.0\include -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib/include -IC:\Users\nutr1\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2/lib/include/
2020-02-17 20:55:42.540009: [error]
Error:
-- While building package regex-posix-0.96.0.0 using:
C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_3.0.1.0_ghc-8.8.2.exe --builddir=.stack-work\dist\29cc6475 build --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Step to Reproduce
stack install regex-posix -v
Environment
- Windows 10 1909
- stack 2.1.3
- GHC 8.8.2
- regex-posix 0.96.0.0
Metadata
Metadata
Assignees
Labels
No labels