#17572: Sage 6.5.beta4 build fails at r-3.1.2p0 on OS X 10.10.1
---------------------------+------------------------
Reporter: hsnyder | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.5
Component: build | Resolution:
Keywords: r clang | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------+------------------------
Comment (by hsnyder):
I finally got a build of sage from source to complete on OS X 10.9.5,
using a hint from this posting: https://support.enthought.com/hc/en-
us/articles/204469410-OS-X-GCC-Clang-and-Cython-in-10-9-Mavericks. I
checked out current sage source (version 6.7) from
git://github.com/sagemath/sage.git, moved MacPorts /opt/local to
/opt/local0 as usual, then ran make. After about 5 hours the make aborted
on the usual error,
ERROR: compilation failed for package 'mgcv'
...
Error installing package r-3.2.0.p0
I then did
export SAGE_KEEP_BUILT_SPKGS=yes
export CXXFLAGS="-mmacosx-version-min=10.6"
export LDFLAGS="-mmacosx-version-min=10.6"
and re-ran make. Make finished in 38 minutes and the resulting sage binary
includes r-3.2.0.
I haven't tried a clean make from scratch, nor have I tested it on OS X
10.10.2 yet. The blog posting cited above also suggests compiler and
linker flag of "-stdlib=libstdc++", but this was rejected by sage's gcc in
both flags.
--
Ticket URL: <http://trac.sagemath.org/ticket/17572#comment:26>
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.