#9530: Improve/fix readline workarounds for Arch Linux and openSuSE, again
broken
on OpenSuSE 11.2 and 11.3
------------------------------+---------------------------------------------
Reporter: baechler | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-4.6
Component: build | Keywords: Arch Linux SuSE readline
Author: Thomas Bächler | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Comment(by leif):
Replying to [comment:29 baechler]:
> 2) I am thinking to extend this test further: Instead of testing for a
particular distribution, test whether libreadline.so.6 is installed and
the development headers are present - and in those cases, never build
libreadline. This way, only systems lacking libreadline or providing the
old libreadline.so.5 would have to build libreadline, all others would use
the system's library.
Sounds reasonable, but we'd have to take care of that when building binary
distributions ({{{./sage -bdist}}}), too, since the build system might
have a (suitable) system libreadline, but we cannot assume every target
system (where a bdist gets installed) to also have it.
In general, I'd like to not (ship and) build Sage-specific versions of
basic tools and libraries like readline (at least by default), but that's
a long-lasting discussion and there are different reasons to do so for
each individual package.
The situation with readline and bash is even more specific, since it's
IMHO a bad idea to dynamically link the system shell against it, which is
only the case on OpenSuSE and Arch. But it's also the readline developers'
fault, because they changed the library's interface without bumping the
version number.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9530#comment:31>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.