#9530: Improve/fix readline workarounds for Arch Linux and openSuSE
------------------------+---------------------------------------------------
   Reporter:  baechler  |       Owner:  GeorgSWeber             
       Type:  defect    |      Status:  new                     
   Priority:  major     |   Milestone:  sage-4.5.3              
  Component:  build     |    Keywords:  Arch Linux SuSE readline
     Author:            |    Upstream:  N/A                     
   Reviewer:            |      Merged:                          
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by TheBlackCat):

 What if you used symlinks to the native libreadline instead of copying it?

 So instead of:

 cp -a /lib64/libreadline.so.6* "$SAGE_LOCAL"/lib
 cp -a /lib/libreadline.so.6* "$SAGE_LOCAL"/lib
 cp -r /usr/include/readline  "$SAGE_LOCAL"/include
 cp /lib/libreadline.so.* "$SAGE_LOCAL"/lib
 cp -a /lib/libreadline.so.6* "$SAGE_LOCAL"/lib

 It does:

 ln -s /lib64/libreadline.so.6* "$SAGE_LOCAL"/lib
 ln -s /lib/libreadline.so.6* "$SAGE_LOCAL"/lib
 ln -s /usr/include/readline  "$SAGE_LOCAL"/include
 ln -s /lib/libreadline.so.* "$SAGE_LOCAL"/lib
 ln -s /lib/libreadline.so.6* "$SAGE_LOCAL"/lib

 This should avoid the problem with upgrades changing libreadline again,
 and will save a little space.

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