#13561: Supply nice error message when starting $SAGE_ROOT/sage without 
compiling
Sage first
-------------------------------+--------------------------------------------
       Reporter:  kini         |         Owner:  leif    
           Type:  defect       |        Status:  new     
       Priority:  major        |     Milestone:  sage-5.5
      Component:  scripts      |    Resolution:          
       Keywords:               |   Work issues:          
Report Upstream:  N/A          |     Reviewers:          
        Authors:  Keshav Kini  |     Merged in:          
   Dependencies:               |      Stopgaps:          
-------------------------------+--------------------------------------------

Comment (by jhpalmieri):

 Well, you could test whether it's a binary distribution and if not, you
 could test whether `make` thinks everything is up to date using `make -q
 build`. Actually, that doesn't seem to work. For a while now, sagetex has
 been the last spkg to install (because it is the only one which depends on
 `$(SAGERUNTIME)` in spkg/standard/deps), so you could look for
 spkg/installed/sagetex-...  By the way, `grep -r` is not portable, so
 maybe this:
 {{{
 #!sh
 if [ ! -f "$SAGE_PACKAGES"/standard/.from_bdist ] && ! ls
 "$SAGE_PACKAGES"/installed | grep sagetex- > /dev/null ; then ...
 }}}
 You would need to first check whether spkg/installed exists.

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