#18691: Trac #17572 breaks the installation of several R packages.
-------------------------------------+-------------------------------------
Reporter: charpent | Owner:
Type: defect | Status: closed
Priority: major | Milestone: sage-6.8
Component: packages: | Resolution: fixed
standard | Merged in:
Keywords: r-project | Reviewers: François Bissey,
Authors: Emmanuel | Jeroen Demeyer, Volker Braun
Charpentier | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
5bc911a30a43a3a4ac1579b3057f8b71d74bf6e7|
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jhpalmieri):
* commit: 5bc911a30a43a3a4ac1579b3057f8b71d74bf6e7 =>
Comment:
Starting with a clean install of Sage, this leads to an error message at
the start of building (as soon as `sage-env` is run):
{{{
$ make
mkdir -p logs
cd build && \
"../build/pipestatus" \
"./install all 2>&1" \
"tee -a ../logs/install.log"
/Users/palmieri/sage-6.8.beta6/src/bin/sage-env: line 434:
/Users/palmieri/sage-6.8.beta6/local/lib/R/share/Makevars.site: No such
file or directory
}}}
This is because the directory `$SAGE_LOCAL/lib/R/share/` does not yet
exist, so the redirection
{{{
echo "## Empty site-wide Makevars file for Sage's R" > "$R_MAKEVARS_SITE"
}}}
fails. The build continues anyway, and I guess the file should be created
when Sage is next run, but would it be better to create this file when
installing `R` (that is, in `build/pkgs/r/spkg-install`)? Or at least to
check if the directory exists before trying to create the file, to avoid a
needless error message?
--
Ticket URL: <http://trac.sagemath.org/ticket/18691#comment:40>
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.