#6532: Make R build with recommended packages
------------------------+---------------------------------------------------
Reporter: wdj | Owner: jason
Type: defect | Status: new
Priority: major | Milestone: sage-4.3
Component: packages | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
Changes (by kcrisman):
* upstream: => N/A
Comment:
Okay, after trying the Sage Ed Day 1 talk I know what happens here. There
are certain packages which are recommended, not required, and those are
basically not available on any mirrors, because it is assumed they are in
your binary. Cluster is one, as is MASS.
So I am going to change the title to "Make R build with recommended
packages."
Here is the fix, due to Jason Grout, from [http://groups.google.com/group
/sage-
support/browse_thread/thread/1237cbecacfa6190/97e3a5876d8f6d0a#97e3a5876d8f6d0a|this
thread]:
{{{
I just modified the R spkg-install thusly:
diff -r b73bca59a75a spkg-install
--- a/spkg-install Sun Sep 20 18:25:26 2009 -0700
+++ b/spkg-install Mon Nov 23 20:35:29 2009 -0600
@@ -77,19 +77,17 @@
CFLAGS="-I$SAGE_LOCAL/include -L$SAGE_LOCAL/lib/ "$CFLAGS; export CFLAGS
LDFLAGS="-L$SAGE_LOCAL/lib/ "$LDFLAGS; export LDFLAGS
-# do not build recommended packages for now, for speed.
-
if [ `uname` = "Darwin" ]; then
echo "Configuring R for OSX"
- ./configure --prefix="$SAGE_LOCAL" --with-recommended-packages=no
--enable-R-shlib --with-x=$XSUPPORT --with-readline="$SAGE_LOCAL" $OSXFW
+ ./configure --prefix="$SAGE_LOCAL" --enable-R-shlib
--with-x=$XSUPPORT --with-readline="$SAGE_LOCAL" $OSXFW
else
echo "Configuring R with ATLAS"
- ./configure --prefix="$SAGE_LOCAL" --with-recommended-packages=no
--enable-R-shlib --with-x=$XSUPPORT --with-readline="$SAGE_LOCAL"
--with-blas="-L$SAGE_LOCAL/lib -lf77blas -latlas"
--with-lapack="-L$SAGE_LOCAL/lib -llapack -lcblas" $SUN_FLAGS
+ ./configure --prefix="$SAGE_LOCAL" --enable-R-shlib
--with-x=$XSUPPORT --with-readline="$SAGE_LOCAL"
--with-blas="-L$SAGE_LOCAL/lib -lf77blas -latlas"
--with-lapack="-L$SAGE_LOCAL/lib -llapack -lcblas" $SUN_FLAGS
fi
if [ $? -ne 0 ]; then
echo "Configuring R with fallback options"
- ./configure --prefix="$SAGE_LOCAL" --with-recommended-packages=no
--enable-R-shlib --with-x=no --with-readline="$SAGE_LOCAL" $OSXFW
$SUN_FLAGS
+ ./configure --prefix="$SAGE_LOCAL" --enable-R-shlib --with-x=no
--with-readline="$SAGE_LOCAL" $OSXFW $SUN_FLAGS
fi
if [ $? -ne 0 ]; then
(I just removed the --with-recommended-packages=no switch from all
command lines)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6532#comment:2>
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.