#9896: upgrading from 4.5.3 to 4.6.alpha0 fails on OS X 10.6
--------------------------+-------------------------------------------------
   Reporter:  jhpalmieri  |       Owner:  GeorgSWeber
       Type:  defect      |      Status:  needs_info 
   Priority:  blocker     |   Milestone:  sage-4.6   
  Component:  build       |    Keywords:             
     Author:              |    Upstream:  N/A        
   Reviewer:              |      Merged:             
Work_issues:              |  
--------------------------+-------------------------------------------------

Comment(by leif):

 Replying to [comment:34 jhpalmieri]:
 > Wouldn't it be easier for upgrading to see if libpari-gmp.dylib exists,
 and if so, delete it and then link libpari-gmp-2.4.dylib to it?

 I was thinking of fixing this in general, not a specific work-around
 limited to updating to ''this'' release.

 > By the way, on a linux box I see libpari-gmp.so.2 and libpari-
 gmp.so.2.3.5 lying around from the old install.  They don't seem to cause
 any trouble, but should they be removed also?

 As I said, on Linux we seem to have the correct order of library search
 dirs, so if all necessary files actually get rebuilt, the old libs
 shouldn't cause problems. In fact, you can use both versions "at the same
 time" (on Linux), i.e. some Sage modules using the old, and some the new
 version. The Darwin loader doesn't support this, at least with how the
 modules are currently built on Darwin.

 For the directory renaming issue (perhaps typical for upgrades, but not
 limited to):
 {{{
 #!python
 distutils.sysconfig.get_config_vars()["LDFLAGS"]="" # remove potentially
 obsolete "-L$SAGE_LOCAL/lib"
 }}}
 (To be added to {{{devel/sage/setup.py}}}; doesn't hurt on normal
 installations where it is redundant anyway.)

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