-
Notifications
You must be signed in to change notification settings - Fork 9
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
Doesn't work on systems with ncurses 6 #8
Comments
I see. Did you try using |
Did it work for you? |
@azawawi I set Does it have something to do with |
Sorry for the late reply. Unfortunately, a corrupted |
I had the same problem, but was able to obtain a build as follows:
then rebuild in the usual way. |
@blippy Thanks for your feedback. |
I think it is to do with the fact that at
I had a chat on
Given all of the potential conflict between version 5 and version 6 of ncurses, I have done what I think is the best solution: forked your repo as a basis for NCurses6 - aimed at compatability with version 6 of the library. This should keep everyone happy (?). Anyone on older systems, or just wanting a vanilla install of Perl 6, can install rakudo in the usual way. Anyone wanting to go down the ncurses 6 route can install my module NCurses6: https://github.com/blippy/perl6-ncurses6 . It also enables users to have both versions on their system, and pick and choose whatever they favour the most. |
Great 👍 But why not have both on the same repository? |
I was spooked by Brandon's comment. ncurses6 seems to have better colour support. I wonder what you think the best way forward is. Should you change 'libncursesw.so.5' to 'libncursesw.so.6', or to 'libncursesw.so', stick with the approach as-is whereby the user has to set PERL6_NCURSES_LIB and remove my NCurses6 as a bad idea, or something else? Am I right in thinking that NCurses is part of the rakudo distribution? |
Thanks for waking me up 👍 Please try 4c7c837. Your feedback is appreciated. |
There seems to be a success. Here's what I did (IIRC):
I was presented with a nice moving starfield :) So we have a winner! Many thanks for fixing this for me. I think the next step should be for me to remove |
Great. I am open to PRs (i.e. more tests, more examples, ideas for NCurses::Simple or NCurses::Lite). Please also checkout the new examples I am adding :) Also please note |
I'm using arch linux, which uses version 6 of ncurses, and thus has no
/usr/lib/libncursesw.so.5
. Running anything using this library then results in:Symlinking /usr/lib/libncursesw.so.6.0 to /usr/lib/libncursesw.so.5 hackishly "solves" the issue, but isn't exactly a great solution.
The text was updated successfully, but these errors were encountered: