Support `stack setup` on Linux with libtinfo6 #2302
Comments
Question: which GHC versions should we build bindists for? At least ghc-8.0.1 and 7.10.3, obviously (for current LTS 6 and nightly snapshots). Probably 7.8.4 (for older LTS snapshots), and perhaps also 7.10.2 (used by LTS 3, although Stack can be easily configured to use GHC 7.10.3 in this case). We've never had an LTS snapshot use GHC 7.10.1, I don't think we need to support it. |
I've built a GHC 7.10.3 64-bit bindist to try out. For anyone running into this problem, please try putting this in your
And then re-run |
Also tried it on Arch Linux, but unfortunately it didn't work out-of-the-box. See #257 (comment). |
I think it's easier to statically link libtinfo with GHC. I don't know if it would make things more difficult in the future. |
With 05ba87e (to be included with stack-1.2.0), Please re-open this issue if you run into any trouble. |
Most "bleeding edge" distros (e.g. Arch (#257) and Gentoo) have already upgraded to ncurses6, and now Fedora 24 (#2300) has been released that uses it as well. With these distros, you'll see an error like this when you run
stack setup
:Unfortunately, there are no official GHC bindists for
stack setup
to use that support it. Provisional plan:The text was updated successfully, but these errors were encountered: