#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:                  |  
------------------------------+---------------------------------------------
Changes (by newvalueoldvalue):

  * work_issues:  Provide a readline-6.0.p3 spkg with the patch applied =>
  * author:  => Thomas Bächler


Old description:

> 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 libreadline.so.5 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.

New description:

 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 libreadline.so.5 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.

 New spkg:

 http://sage.math.washington.edu/home/mpatel/trac/9530/readline-6.0.p3.spkg

--

Comment:

 See the description for a link to a p3 spkg with Thomas' patch.  I'll
 attach a Mercurial spkg patch shortly.  Note: I have not tested the new
 package.  Please do this!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9530#comment:24>
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.

Reply via email to