-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
make libs/readline know where headers/libs are #29000
Comments
comment:1
Also note that several packages seem to link against the macOS readline instead of the Homebrew one. In fact, the only one I am sure links against the Homebrew readline is rpy2. What would be needed to solve this? The Homebrew version provides a pkg-config file, in case that is useful. I am hesitant to permanently install Homebrew's readline to |
comment:2
GAP needs a "real" readline, not a MacOS's libedit. IIRC, sagelib's readline also needs "real" readline. I did try installing Homebrew's readline into /usr/local, it seems to cause no harm, and |
comment:3
Replying to @dimpase:
This might explain why I currently see several persistent doctest timeouts with this setup. Giac seems to be affected, as well. I am a bit surprised the build does not fail with this incompatible readline (other than for |
This comment has been minimized.
This comment has been minimized.
comment:5
Thanks for adding the link to the problem description. What is happening here is that you are relying on an automake feature that our build system (unfortunately) does not have. It is true that one can set variables by passing them to
... except in the automake-generated file
|
comment:6
Thank you for explaining this. This clears up a lot. I think I will avoid the keg-only packages for now. |
comment:7
Also PARI's
which is not correct when On
|
comment:8
I believe these are missing for packages for which readline is not a dependency (but a feature). On the other hand, perhaps it can potentially pollute the compiling/linking calls. Let's fix it... |
comment:10
Another case:
|
Author: Dima Pasechnik |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:14
It appears this will need |
comment:15
Then it has to be. |
comment:16
underlinking of libreadline needs to be tested in readline's spkg-configure. And the name of the library has to be found from |
comment:17
Or we should make sure |
comment:18
How's this coming along? |
comment:19
hope to fix today (SG time) |
comment:20
Anything I can help? |
Commit: |
comment:21
feel free to take over - I won't have much time for it in the coming 48 hours. New commits:
|
comment:23
Hm, not tonight |
This comment has been minimized.
This comment has been minimized.
comment:26
I think slackware problem (#29573) is a different one - it ships an underlinked readline (and does not provide .pc file for readline, to make everything harder than needed). |
comment:29
Moving to 9.4, as 9.3 has been released. |
comment:30
should we proceed with this - in view of recent readline changes? |
Dependencies: #32073 |
comment:31
The issue in the ticket description is indeed no longer relevant after #32073, so let's close this. There are still issues with readline in other packages, as mentioned in #29000 comment:7 above, but it does not help to keep the ticket open. |
Changed author from Dima Pasechnik to none |
comment:32
OK |
Reviewer: Dima Pasechnik |
To allow non-standard locations for
readline
(e.g. with MacOS Homebrew)one should use
# distutils: include_dirs =
etc insage/libs/readline.pxd
to make it look in non-standard locations.readline/spkg-configure.m4
should set up appropriate variablesto be filled in and exported in
src/bin/sage-env-config.in
; in turnthey should make it into
cython_aliases
insage/env.py
.This came up in this thread on sage-devel.
See also (readline-related):
See also (similar failure mode):
Depends on #32073
CC: @dimpase @dcoudert @isuruf @orlitzky
Component: build: configure
Branch/Commit: public/packages/readline_underlink @
af7cec6
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29000
The text was updated successfully, but these errors were encountered: