#9896: Upgrading from 4.5.3 to 4.6.alpha* can fail (not limited to MacOS X)
-----------------------------------------------+----------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.6
Component: build | Keywords: upgrade update
dependencies PARI NewPARI
Author: Leif Leonhardy, Jeroen Demeyer | Upstream: N/A
Reviewer: | Merged:
Work_issues: Update upgrade path for testing |
-----------------------------------------------+----------------------------
Comment(by leif):
Replying to [comment:120 leif]:
> Of course the upgrade path has yet to be updated for testing this, but
the patch can be reviewed.
One can also (partially) test the new patch by (optionally renaming the
Sage directory of an installation to be upgraded, then) running {{{./sage
-upgrade ...}}} with the ''current'' upgrade path, and '''after that'''
applying [http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/9896/trac_9896
-fix_hardcoded_libdirs_in_extmod_linker_cmd-sagelib.patch the new patch]
to the Sage library, then running {{{./sage -ba}}} and {{{make
ptestlong}}} or alike. (Running just {{{./sage -b}}} would though show
that the obsolete hard-coded directory gets replaced, of course only if
{{{SAGE_ROOT}}} had been changed. Another way is to put fake directories
into {{{LDSHARED}}}, e.g. by setting it to {{{"gcc -bundle -L/foo/bar/
-undefined dynamic_lookup -Lbaz"}}} on MacOS X, or e.g. {{{"gcc -L/foo/bar
-pthread -Lbaz/ -shared"}}} on Linux.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9896#comment:121>
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.