-
Notifications
You must be signed in to change notification settings - Fork 208
Building cabal-helper fails on Windows 10 #435
Comments
Windows is a supported platform. |
Maybe I can help with setting up an appveyor CI then, and updating the build instructions on windows. |
Did you manage to resolve it? Your paths seem to be 140 chars, way less than the infamous |
No, I Googled around without any luck. Should I set the |
MAX_PATH is not an environment variable, you cannot get past that limitation if you hit it. But I doubt you have this long path issue |
Hi, do you have updates on this subject? I'm having the same issue on a win10 machine with latest stack. |
Was it really the long path issue? I'll investigate and see how log folder. Note that |
It appears that way. I had Also, what fix in |
Your comment implied that you encountered the same problem as in this issue. But apparently it was a completely unrelated issue as the path in the first message of this issue is way too short, and there are no "path not found" messages in the original log either.
See also this comment from @alanz : #372 (comment) |
@nponeccop You may be right. It seems that by a weird coincidence the fix rolled in exactly when I changed the checkout folder. |
I can confirm that setting the group policy "Enable Win32 long paths" to "Enabled" fixes the problem for me, so I'm closing this issue. Now I'm able to build HIE on windows! 🍾 |
I've set that Group Policy, yet it doesn't work:
This is clean install of stack. I have also tried this half a year ago, I could build it back then. I think proper way would be to provide pre-built binaries, since this is difficult to get working. |
While trying to build HIE on windows 10 I get he following error:
I don't know whether windows is a supported platform, but this might be related to long path names.
The text was updated successfully, but these errors were encountered: