
Hello, I was trying to port some of my code to Windows. I've installed GHC with MinGHC (https://github.com/fpco/minghc). Unfortunately some packages, namely zlib and network, won't install, with the same error: getModificationTime cannot locate a file like CodecCompressionZlibStream.hsc or NetworkSocketTypes.hsc. With zlib, I figured out I just need to change mentions of "Codec/Compression/(...)" adding two slashes instead of one. Now with network I'm stuck, I can't find where the path was set at all. Is there some step I should have done prior to installation that would get the paths right? Best regards, Marcin Mrotek

Okay, for what it's worth, I found a solution: I reinstalled MinGHC and left the default 1.20 version of Cabal, and now everything is fine. (I had installed the newest version previously because I somehow managed to botch setup-simple execs, and I thought this would solve the problem. It actually did, but at a cost.) Best regards, Marcin Mrotek
participants (1)
-
Marcin Mrotek