#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):
Sigh. Sorry for the trouble. I don't have sage-4.8 built yet. So, I can't
test this as "make install". But I did test this sed expression before
putting it here (that's how I caught the `@` problem).
I see from
{{{
sed -i -e
"s|^#SAGE_ROOT=/path/.*SAGE_ROOT=\"/usr/local/sage-4.8a/sage\"|;q"
}}}
that the `$|` was eaten away by the make process (it is not stripped away
when run on the terminal). This is why you are getting that sed error. Can
you try it without the `$`? Then the patch will look like this:
{{{
#!diff
--- Makefile 2012-01-20 13:38:18.000000000 +0800
+++ /home/punarbasu/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:4>
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.