Skip to content

0.96 broke builds on windows? #7

@ludat

Description

@ludat

I have a quite extensive test suite and I think the latest update for this library broke windows builds, the error message is:

regex-posix > configure regex-posix > Configuring regex-posix-0.96.0.0... regex-posix > build regex-posix > Preprocessing library for regex-posix-0.96.0.0.. regex-posix > C:\Users\runneradmin\AppData\Local\Temp\stack-67450dfd8b89b02e\regex-posix-0.96.0.0\Wrap.hsc:96:10: fatal error: regex.h: No such file or directory regex-posix > compilation terminated. regex-posix > compiling .stack-work\dist\29cc6475\build\Text\Regex\Posix\Wrap_hsc_make.c failed (exit code 1) regex-posix > command was: C:\Users\runneradmin\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\runneradmin\AppData\Local\Programs\stack\x86_64-windows\msys2-20180531\mingw64\include -I.stack-work\dist\29cc6475\build\cbits -IC:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\msys2-20180531\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\runneradmin\AppData\Local\Programs\stack\x86_64-windows\msys2-20180531\mingw64\include -IC:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib\bytestring-0.10.10.0\include -IC:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib\base-4.13.0.0\include -IC:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib\integer-gmp-1.0.2.0\include -IC:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2\lib/include -IC:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.8.2/lib/include/ 

But version 0.95 works fine and I saw that you removed some C files so I imagine that's the problem

here is the actual run if you want to see it

Metadata

Metadata

Assignees

Labels

installationProblem with installation of regex-posix

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions