#12131: $SAGE_LOCAL/lib and lib64
----------------------+-----------------------------------------------------
   Reporter:  vbraun  |          Owner:  GeorgSWeber
       Type:  defect  |         Status:  new        
   Priority:  major   |      Milestone:  sage-4.8   
  Component:  build   |       Keywords:             
Work_issues:          |       Upstream:  N/A        
   Reviewer:          |         Author:             
     Merged:          |   Dependencies:             
----------------------+-----------------------------------------------------

Old description:

> Some distributions set up autotools to install libraries into
> `%{prefix}/lib64`, which breaks Sage's assumption that libraries are
> installed in `$SAGE_LOCAL/lib`. In particular, !OpenSuse64 according to
> this thread https://groups.google.com/d/topic/sage-devel/LS-
> u8E77NJQ/discussion
>
> It seems like we have two options:
>   * Always call `./configure --libdir='${prefix}/lib'` to explicitly
> specify the library directory, or
>   * Set up a symlink `$SAGE_LOCAL/lib64` -> `$SAGE_LOCAL/lib`.
>
> The symlink is the lazy thing to do but will probably break again with
> the next architectural change. Fixing the configure call seems the right
> thing to do but will need some work to patch up all spkgs.

New description:

 Some distributions set up autotools to install libraries into
 `%{prefix}/lib64`, which breaks Sage's assumption that libraries are
 installed in `$SAGE_LOCAL/lib`. In particular, !OpenSuse64 according to
 this thread https://groups.google.com/d/topic/sage-devel/LS-
 u8E77NJQ/discussion

 It seems like we have two options:
   * Always call `./configure --libdir='${prefix}/lib'` to explicitly
 specify the library directory, or
   * Set up a symlink `$SAGE_LOCAL/lib64` -> `$SAGE_LOCAL/lib`.

 The symlink is the lazy thing to do but will probably break again with the
 next architectural change. Fixing the configure call seems the right thing
 to do but will need some work to patch up all spkgs.

 Updated spkgs:
   * http://www.stp.dias.ie/~vbraun/Sage/spkg/readline-6.2.p2.spkg

--

Comment(by vbraun):

 I tested the new readline on mark/skynet (Solaris SPARC) and it works.

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