#11926: "make build" should run Sage once
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.3
Component: build | Keywords: Makefile build
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by jdemeyer):
Replying to [comment:16 leif]:
> Better write some `install` target (and / or a `sage-first_time`
script), and update the Sage Installation Guide, especially with respect
to files that are created upon first start-up, hardcoded path etc. etc.
>
> IMHO we should in general do certain things ''upon installing Sage''
(some actually ''during'' the build), rather than checking them and doing
them ''for the first time'' when someone tries to start Sage.
In principle you are of course right but Sage is quite different from
other software. It currently has no `make install` rule, and it is not at
all clear to me what `make install` should do anyway. Also, Sage is
special in that the source code is really in the installation. Normally,
you would have a source tree and a build tree, but with Sage this is one.
Sage developers are used to this, so people might even complain if you try
to change this. So for this ticket, let's not overhaul the whole Sage
build process, let's stick to the simple solution.
> * This message is btw. printed too late, as `install_moved()` already
does some stuff before the script (eventually!) gets to this.
See #5155.
Leif: would you agree with the following: add a `make install` rule in
Sage which simply runs Sage (and hence indirectly `sage-location`)? And
then not run Sage from `spkg/install`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11926#comment:25>
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.