#9896: Upgrading from 4.5.3 to 4.6.alpha* can fail (not limited to MacOS X)
------------------------------+---------------------------------------------
   Reporter:  jhpalmieri      |       Owner:  leif                              
      
       Type:  defect          |      Status:  needs_review                      
      
   Priority:  blocker         |   Milestone:  sage-4.6                          
      
  Component:  build           |    Keywords:  upgrade update dependencies PARI 
NewPARI
     Author:  Leif Leonhardy  |    Upstream:  N/A                               
      
   Reviewer:                  |      Merged:  sage-4.6.rc0                      
      
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by jhpalmieri):

 Okay, the problem is this: if you build Sage but never run it, then the
 script sage-location doesn't get run, so the file SAGE_ROOT/local/lib
 /sage-location.txt doesn't get created.  Then if you move or copy that
 directory, the file isn't there, so sage-location thinks everything is
 okay, so it doesn't rewrite the .la files.

 (This is despite the comment in sage-location that the files in local/lib
 get written "during the build".  This is also not platform-specific: I
 just built on sage.math, and there is no file sage-location.txt until Sage
 gets run for the first time.  I was also wondering why I wasn't seeing the
 message "The Sage install tree may have moved..." at the start of the
 upgrade, and this explains it.)

 See #10162 for a follow-up; it's a one-liner.

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