Opened 12 years ago

Last modified 12 years ago

#9530 closed defect

Improve/fix readline workarounds for Arch Linux and openSuSE — at Initial Version

Reported by: Thomas Bächler Owned by: Georg S. Weber
Priority: blocker Milestone: sage-4.6
Component: build Keywords: Arch Linux SuSE readline
Cc: Leif Leonhardy, David Kirkby, Mitesh Patel, Florent Hivert Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Sage currently has workarounds against building an incompatible libreadline on openSuSE 11.1 and Arch Linux - instead of building it, the system version is copied.

The SuSE workaround should be applied to openSuSE 11.2 and 11.3, too. Furthermore, SuSE offers in addition to .so.6, so we only copy .6.

The workaround on Arch Linux is unreliable, as it detects Arch Linux by "-ARCH" in the kernel version (which is the default, but might be different). Instead, the presence of /etc/arch-release should be used to determine that.

I am attaching a patch that fixes those problems and changes 'cp' to 'cp -a' to not turn a symlink into a file. Without this patch, sage fails to build on my SuSE or Arch systems.

Change History (1)

Changed 12 years ago by Thomas Bächler

Attachment: readline-6.0.p2.spkg.patch added
Note: See TracTickets for help on using tickets.