#10162: sage-location: "update" library files the first time this is run
------------------------------+---------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: defect | Status: positive_review
Priority: minor | Milestone: sage-4.6
Component: build | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: Leif Leonhardy | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Changes (by leif):
* status: needs_review => positive_review
* reviewer: => Leif Leonhardy
Old description:
> If you build Sage but do not run it, then the script sage-location does
> not get run, so the file sage-location.txt does not get written. So if
> you move the Sage install directory before running it, the paths in the
> files SAGE_ROOT/local/lib/*.la are not correct. The attached patch
> updates the paths in those files if the file sage-location.txt does not
> exist.
>
> (I'm marking this "minor" since it's not likely to happen at all
> frequently. When it does happen, it can screw things up pretty badly,
> though.)
New description:
If you build Sage but do not run it, then the script {{{sage-location}}}
does not get run, so the file {{{$SAGE_ROOT/local/lib/sage-current-
location.txt}}} does not get written. So if you move the Sage install
directory before running it, the paths in the files
{{{SAGE_ROOT/local/lib/*.la}}} are not correct. The attached patch
updates the paths in those files if the file {{{sage-current-
location.txt}}} does not exist.
(I'm marking this "minor" since it's not likely to happen at all
frequently. When it does happen, it can screw things up pretty badly,
though.)
--
Comment:
Except that the file's name is {{{sage-current-location.txt}}}...
Good catch by the way, I assumed it was an even larger, perhaps OS-related
problem.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10162#comment:2>
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.