#15433: Port to OSX 10.9
-------------------------------------+-------------------------------------
Reporter: ohanar | Owner:
Type: task | Status: needs_review
Priority: major | Milestone: sage-5.13
Component: porting | Resolution:
Keywords: | Merged in:
Authors: R. Andrew Ohana | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/ohanar/10.9-port | cfc31f333b25626941353545126dbc4c6dbb01f1
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jhpalmieri):
Now you also need to change the instructions in `src/bin/sage` about
running `sage -i sqlite3`: that will have no effect on OS X. Note also
that sqlite3 appears twice, once in `usage` and once in `usage_advanced`.
Maybe
{{{
#!diff
diff --git a/src/bin/sage b/src/bin/sage
index 7eca9b0..df51f76 100755
--- a/src/bin/sage
+++ b/src/bin/sage
@@ -25,6 +25,7 @@ usage() {
echo " -python [...] -- run the Python interpreter"
echo " -R [...] -- run Sage's R with given arguments"
echo " -singular [...] -- run Sage's singular with given
arguments"
+ test -x "$SAGE_LOCAL/bin/sqlite3" || \
echo " -sqlite3 [...] -- run Sage's sqlite3 with given
arguments"
echo " -root -- print the Sage root directory"
echo " --nodotsage -- run Sage without using the user's
.sage directory:"
@@ -102,9 +103,8 @@ usage_advanced() {
echo " -scons [...] -- run Sage's scons"
echo " -sh [...] -- run \$SHELL ($SHELL) with Sage
environment variables"
echo " -singular [...] -- run Sage's singular with given
arguments"
- echo " -sqlite3 [...] -- run Sage's sqlite3 with given
arguments"
test -x "$SAGE_LOCAL/bin/sqlite3" || \
- echo " (not installed currently, run sage -i
sqlite3)"
+ echo " -sqlite3 [...] -- run Sage's sqlite3 with given
arguments"
echo " -twistd [...] -- run Twisted server"
echo
}}}
Or you could do
{{{
#!diff
diff --git a/src/bin/sage b/src/bin/sage
index 7eca9b0..5be445b 100755
--- a/src/bin/sage
+++ b/src/bin/sage
@@ -26,6 +26,8 @@ usage() {
echo " -R [...] -- run Sage's R with given arguments"
echo " -singular [...] -- run Sage's singular with given
arguments"
echo " -sqlite3 [...] -- run Sage's sqlite3 with given
arguments"
+ test -x "$SAGE_LOCAL/bin/sqlite3" || \
+ echo " (NOTE: not installed on OS X)"
echo " -root -- print the Sage root directory"
echo " --nodotsage -- run Sage without using the user's
.sage directory:"
echo " create and use a temporary .sage
directory instead"
@@ -104,7 +106,7 @@ usage_advanced() {
echo " -singular [...] -- run Sage's singular with given
arguments"
echo " -sqlite3 [...] -- run Sage's sqlite3 with given
arguments"
test -x "$SAGE_LOCAL/bin/sqlite3" || \
- echo " (not installed currently, run sage -i
sqlite3)"
+ echo " (NOTE: not installed on OS X)"
echo " -twistd [...] -- run Twisted server"
echo
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15433#comment:22>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.