#20364: make install does not work any more
------------------------+----------------------------
   Reporter:  zimmerma  |            Owner:
       Type:  defect    |           Status:  new
   Priority:  major     |        Milestone:  sage-7.2
  Component:  build     |         Keywords:
  Merged in:            |          Authors:
  Reviewers:            |  Report Upstream:  N/A
Work issues:            |           Branch:
     Commit:            |     Dependencies:
   Stopgaps:            |
------------------------+----------------------------
 up to Sage 6.9, after downloading the source in {{{/tmp/sage-x.y.z}}}, and
 running {{{make}}}, I did
 {{{make install DESTDIR=/usr/local/sage-x.y.z}}}. With Sage 7.1 this does
 not work any more:
 {{{
 zimmerma@coing:/tmp/sage-7.1$ sudo make install
 DESTDIR=/usr/local/sage-7.1
 ...
 mkdir -p "/usr/local/sage-7.1"/sage
 mkdir -p "/usr/local/sage-7.1"/bin
 cp -Rp * "/usr/local/sage-7.1"/sage
 rm -f "/usr/local/sage-7.1"/bin/sage
 ln -s ../sage/sage "/usr/local/sage-7.1"/bin/sage
 "/usr/local/sage-7.1"/bin/sage -c # Run sage-location

 ERROR:  The Sage installation tree has moved

 from /tmp/sage-7.1
   to /usr/local/sage-7.1/sage

 This is not supported, and Sage will not work. To install Sage from a
 binary package:

 1. Open the .tar.bz2 archive (or .dmg on OSX)

 2. Move the SageMath folder/app to where you want it to be. You can
    also rename the directory now.

 3. Start sage for the first time. This will then automatically patch
    paths in binaries.

 After starting Sage for the first time you cannot change the
 installation any more. To install Sage elsewhere, start over from the
 binary package. Or recompile Sage from scratch in the new location
 ("make distclean && make")

 make: *** [install] Error 1
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20364>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to