#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 vbraun):
Clang only gets picked up when compiling R's own packages, which is done
using R's own logic. You can trigger it by hand by unpacking the R tarball
and running
{{{
$ sage -R CMD INSTALL R-3.2.0/src/library/Recommended/MASS.tgz
* installing to library ‘/home/vbraun/Code/sage.git/local/lib/R/library’
* installing *source* package ‘MASS’ ...
** package ‘MASS’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/home/vbraun/Code/sage.git/local/lib/R//include -DNDEBUG
-fpic -g -O2 -c MASS.c -o MASS.o
gcc -std=gnu99 -I/home/vbraun/Code/sage.git/local/lib/R//include -DNDEBUG
-fpic -g -O2 -c lqs.c -o lqs.o
gcc -std=gnu99 -shared -L/home/vbraun/Code/sage.git/local/lib/R//lib
-L/home/vbraun/Code/sage.git/local/lib/ -o MASS.so MASS.o lqs.o
-L/home/vbraun/Code/sage.git/local/lib/R//lib -lR
installing to /home/vbraun/Code/sage.git/local/lib/R/library/MASS/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (MASS)
}}}
The CFLAGS/CXXFLAGS should be equivalent to
{{{
$ MACOSX_DEPLOYMENT_TARGET=10.6 sage -R CMD INSTALL
R-3.2.0/src/library/Recommended/MASS.tgz
}}}
maybe you can give this a try?
--
Ticket URL: <http://trac.sagemath.org/ticket/17572#comment:27>
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.