#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:44 kcrisman]:
 > I should point out that the errors look like the ones here, segmentation
 fault in Pari and all that.  It's not the computer I'm on right now, so I
 won't laboriously type it all out.
 >
 > For what it's worth, I get
 {{{

 sage -t  "devel/sage/sage/libs/mwrank/interface.py"
 The doctested process was killed by signal 4
          [199.7 s]
 sage -t  "devel/sage/sage/schemes/elliptic_curves/ell_rational_field.py"
 The doctested process was killed by signal 4
          [337.5 s]

 }}}
 > on OS X 10.4 with this same upgrade pattern, and without the new Pynac.
 Also curious.

 Hmmm, not that surprising, except that signal 4 is "illegal instruction",
 not a segmentation fault (but perhaps Apple uses different numbers on
 Darwin 8).

 Did you
  * rebuild ECLIB (with {{{./sage -f ...}}}) (depends on PARI)
  * rename or copy the 4.5.3 directory?

 As mentioned above, three extension modules do '''not''' get rebuilt
 though they link against PARI (and depend on ECLIB).

 In case you copied the directory to keep the 4.5.3 installation, the
 linker on Darwin will '''first''' search {{{$SAGE_LOCAL/lib}}} of the
 '''old''' Sage installation, and therefore link against the wrong PARI
 library. You can export {{{LDSHARED}}} to prevent this (see above).

 I'm not sure if the setting differs on MacOS X 10.4, so you could do:
 {{{
 sage: import distutils.sysconfig
 sage: distutils.sysconfig.get_config_var("LDSHARED")
 ' (current setting) '
 }}}
 and set {{{LDSHARED}}} to what you see except the first {{{-L...}}} (and
 export it).

 Then force rebuilding ECLIB, touch the three Cython files listed above and
 do {{{./sage -b}}}.


 I - hate - trac ... 8| (once again just logged me off when replying s.t.
 my whole comment went to /dev/null)

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