-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
spkg-configure.m4 for ncurses and readline #27277
Comments
comment:1
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually) |
comment:2
test for use_tioctl to recognise ncurses version 6. |
comment:3
? Do we even need that if we can use PKG_CHECK_MODULES? Or do you mean for OSX? For the time being I don't even really care that much about this working on OSX but if you or someone else wants to make it work I certainly won't complain as long as it doesn't make things enormously more complex. |
New commits:
|
Commit: |
comment:5
macos native ncurses is OK, but readline is a faked one, libedit, with many functions from readline missing. |
This comment has been minimized.
This comment has been minimized.
comment:8
OK, so this works on OSX - with native ncurses and readline built by Sage. |
comment:9
Perhaps the readline version bump is not needed. On Fedora I get this error building python2
|
comment:10
a patch related to
fixes the build on Fedora. Actually, I have spotted the bug (2, in fact) in the readline source.
The thing works on OSX as there there is an unconditional Should this be reported upstream? |
Upstream: Not yet reported upstream; Will do shortly. |
comment:11
It feels like an upstream work around mostly but the stuff on fedora is probably worth reporting. I very much doubt it is fedora specific. Looking at the gentoo ebuild we have that telling section for readline 8.0
|
comment:12
No, I really don't see how the upstream stuff can work correctly---of course one can like an idiot insert |
comment:13
Replying to @kiwifb:
No, it's readline's "not overlinking" (I'd rather call it "blatant underlinking) I just sent a followup there, but I don't have much hope for accepting this as bugs on upstream side. |
Changed upstream from Not yet reported upstream; Will do shortly. to Reported upstream. No feedback yet. |
comment:15
please support me arguing against underlinking here: http://lists.gnu.org/archive/html/bug-readline/2019-04/msg00013.html :-) |
comment:18
oops,now I recall that I forgot to update readline's patches, as a result it won't build with external ncurses (unless there is a library named |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:20
OK, this works now, external (n)curses or not. |
Reviewer: Matthias Koeppe |
comment:21
Works well on macOS Mojave: ncurses is not built, readline is built. |
comment:22
ping? |
Changed reviewer from Matthias Koeppe to Matthias Koeppe, François Bissey |
comment:23
LGTM |
comment:24
I still haven't had a chance to test this one. |
comment:26
changing the milestone to concentrate the rest of this work on #27825 |
use pkg-config and test that the versions are as new as in Sage:
and
readline 8.0 tarball: ftp://ftp.cwru.edu/pub/bash/readline-8.0.tar.gz
Upstream: Reported upstream. No feedback yet.
CC: @embray @kiwifb
Component: build
Author: Dima Pasechnik
Branch/Commit: u/dimpase/packages/ncurses_readline-config @
6828f7a
Reviewer: Matthias Koeppe, François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/27277
The text was updated successfully, but these errors were encountered: