-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to ncurses 6 #1575
Comments
Stack itself doesn't use ncurses, but GHC does. We've hit problems with this in Arch (see #257 and #1012), so similar workarounds may be possible on Gentoo. Is it possible to install an older version of libtinfo/ncurses for compatibility on Gentoo? If not, we'd need an ncurses 6 compatible GHC bindist that |
I have tried to create symlink to ncurses 6's libtinfo shared library, but unfortunately I get following error.
Yes, it is possible, however that is not the long term solution. I am fine with building the GHC from source if that works automatically by typing |
Unfortunately having |
I see, it would still be great if there was an option to build it from source too, from my experience the GHC is just faster if built from source. But still, the dependency should be updated to ncurses 6. |
This is a matter of the GHC release team (or a third-party) releasing Gentoo compatible bindists first. We can then update I agree it would be nice to support building GHC from source, but there are so many variables that making this work reliably would be very difficult. The best is to build a bindist yourself, and then use Does Gentoo have support for installing GHC system-wide? By any chance does it also support installing multiple GHC versions side-by-side? If so, improving Stack's support for multiple system-installed GHC versions may be a possibility as well. |
Gentoo has system-wide GHC but only 7.10.2 so I went back to the haskell overlay. I think we can close this, since I got the latest GHC 8.0.1 release candidate binary and it required ncurses 6. |
I'm on gentoo and am using ncurses-6. It's not possible for me to use stack because...
I tried using lts-6.7 in my yaml file and nightly-2016-07-09 (so ghc-7.10.3 and 8.0.1). Both didn't work. I cannot use a system wide ghc because intero is not compatible with it (fails because it requires transformers-0.4.3.0) and that's the piece of software I wanted to try out. Is there a way to make this work with ncurses-6? |
FYI gentoo / portage users: ncurses-5 and -6 can coexist by making use of sub-slots, just make a virtual ghc ebuild to keep this ebuild has been working for me for quite a while, don't mind about the version, despite it's named |
The new major version was released couple of month ago and Gentoo uses it already in unstable which cases problems with building GHC.
The text was updated successfully, but these errors were encountered: