Opened 6 years ago

Closed 5 years ago

#20364 closed defect (fixed)

make install does not work any more

Reported by: zimmerma Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords:
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

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

Change History (7)

comment:1 Changed 5 years ago by jdemeyer

  • Reviewers set to Jeroen Demeyer
  • Status changed from new to needs_review

This is no longer supported, see #1792.

comment:2 Changed 5 years ago by jdemeyer

  • Milestone changed from sage-7.2 to sage-duplicate/invalid/wontfix
  • Status changed from needs_review to positive_review

comment:3 Changed 5 years ago by zimmerma

#1792 has not yet been reviewed, thus should not have been merged. Paul

comment:4 Changed 5 years ago by jdemeyer

This ticket isn't closed either.

Anyway, you are shooting the messenger. make install is no longer supported and #1792 only changes the Makefile to match the reality.

comment:5 follow-up: Changed 5 years ago by zimmerma

ok, this will just slow down my contributions to Sage. But if other people don't mind, I won't insist any more. Paul

comment:6 in reply to: ↑ 5 Changed 5 years ago by jdemeyer

Replying to zimmerma:

But if other people don't mind, I won't insist any more.

I'm sure that some other people do mind. But the reality is that make install is hard to support properly and we had to move on and stop supporting that.

comment:7 Changed 5 years ago by vbraun

  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.