#12627: The spkg/bin/sage script engraves paths to executables
--------------------------------+-------------------------------------------
       Reporter:  Snark         |         Owner:  leif           
           Type:  defect        |        Status:  needs_info     
       Priority:  major         |     Milestone:  sage-5.0       
      Component:  scripts       |    Resolution:                 
       Keywords:  rd2           |   Work issues:                 
Report Upstream:  N/A           |     Reviewers:  R. Andrew Ohana
        Authors:  Julien Puydt  |     Merged in:                 
   Dependencies:                |      Stopgaps:                 
--------------------------------+-------------------------------------------

Comment (by Snark):

 I don't insist on running "sage --kash".

 I ran "make ptestlong" and it tried to run things using "sage
 --something".

 Kash wasn't the problem ; I don't remember if it was ecl or scons... or
 something else... Of course the test failed : even though I made sure in
 sage-env it had what it takes in the PATH, the script didn't even see it!

 I claim sage-as-it-is is broken because it can't accept a small change in
 a place without breaking in an unrelated place for no serious reason.

 My patch doesn't break sage-as-it-is, and makes it more easy to modify in
 the future: tomorrow, you'll decide to put the executables in
 $SAGE/whatever/bin instead of $SAGE_LOCAL/bin. Of course, you'll modify
 sage-env to cope with the change. And it will still not work. Why? Because
 that script doesn't care about sage-env, it does it's own thing... and I
 claim that is wrong.

 My patch makes it possible to change where sage finds executables in one
 sensible place instead of several.

 I'm not telling you: "There is a theoretical issue, drop everything you do
 and work on it for me!". I'm telling you : "I made private changes, hit a
 practical issue, and even though you might not have met it yet, there's a
 chance you will, and here is a simple nice fix."

 Does it sound that unreasonable?

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