#18254: osx R spkg error: expected ',' or '}' before '__attribute__'
-------------------------------------+-------------------------------------
Reporter: buck | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-
Component: packages: | duplicate/invalid/wontfix
standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jhpalmieri):
With the change
{{{
#!diff
diff --git a/build/pkgs/r/spkg-install b/build/pkgs/r/spkg-install
index 2bb904d..4bad9c8 100755
--- a/build/pkgs/r/spkg-install
+++ b/build/pkgs/r/spkg-install
@@ -84,6 +84,13 @@ if [ "$UNAME" = "Darwin" ]; then
R_CONFIGURE="--enable-R-framework=no $R_CONFIGURE"
fi
+# OS X 10.10 and/or Xcode 6.3 broke the R installation. See
+# http://trac.sagemath.org/ticket/18254.
+if { uname -sr | grep 'Darwin 14\.' ;} &>/dev/null; then
+ echo "OS X 10.10: Configuring R without aqua support."
+ R_CONFIGURE="--with-aqua=no $R_CONFIGURE"
+fi
+
if [ "$UNAME" = "CYGWIN" ]; then
# Cygwin libm does not provide "long double" functions
# and we do not install Cephes on Cygwin at the moment
}}}
along with the workaround for gcc at #18156, `R` builds and passes its
test suite, and Sage passes all tests, too. (This is with command line
tools 6.3.1.)
--
Ticket URL: <http://trac.sagemath.org/ticket/18254#comment:51>
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/d/optout.