#12347: make install broken in Sage 4.8
------------------------+---------------------------------------------------
Reporter: zimmerma | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-5.0
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by ppurka):
Hmm.. using @ is not a good idea there. The correct patch should be:
{{{
#!diff
--- Makefile.old 2012-01-20 13:38:18.000000000 +0800
+++ Makefile 2012-01-24 20:51:23.000000000 +0800
@@ -149,7 +149,7 @@
mkdir -p $(DESTDIR)/sage
mkdir -p $(DESTDIR)/bin/
cp -rpv * $(DESTDIR)/sage/
- python local/bin/sage-hardcode_sage_root $(DESTDIR)/sage/sage
"$(DESTDIR)"/sage
+ sed -i -e
"s|^#SAGE_ROOT=/path/.*$|SAGE_ROOT=\"$(DESTDIR)/sage\"|;q"
"$(DESTDIR)/sage/sage"
cp $(DESTDIR)/sage/sage $(DESTDIR)/bin/
cd $(DESTDIR)/bin/; ./sage -c
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12347#comment:2>
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.