#9668: Fix hardcoding of paths in R binary
---------------------------------------------------------------------------------------------------------------+
       Reporter:  kcrisman                                                      
                               |         Owner:  leif               
           Type:  defect                                                        
                               |        Status:  needs_review       
       Priority:  major                                                         
                               |     Milestone:  sage-5.9           
      Component:  packages                                                      
                               |    Resolution:                     
       Keywords:  R spkg R.sh.in libR.pc pkg-config hard-coded package 
installation R_HOME_DIR sd32 r-project  |   Work issues:                     
Report Upstream:  N/A                                                           
                               |     Reviewers:  Karl-Dieter Crisman
        Authors:  John Palmieri                                                 
                               |     Merged in:                     
   Dependencies:                                                                
                               |      Stopgaps:                     
---------------------------------------------------------------------------------------------------------------+

Comment (by jhpalmieri):

 I'll post a new version of the spkg when sage.math is back up. I've
 attached the patch. This has the effect of changing lines in `local/bin/R`
 (and the corresponding file `local/lib/R/bin/R`) from
 {{{
 R_SHARE_DIR=.../sage-5.8.beta4/local/lib/R/share
 export R_SHARE_DIR
 R_INCLUDE_DIR=.../sage-5.8.beta4/local/lib/R/include
 export R_INCLUDE_DIR
 R_DOC_DIR=.../sage-5.8.beta4/local/lib/R/doc
 export R_DOC_DIR
 }}}
 to
 {{{
 R_SHARE_DIR="${R_HOME_DIR}/share"
 export R_SHARE_DIR
 R_INCLUDE_DIR="${R_HOME_DIR}/include"
 export R_INCLUDE_DIR
 R_DOC_DIR="${R_HOME_DIR}/doc"
 export R_DOC_DIR
 }}}
 With this change, running `sage -R` and then `install.packages("automap")`
 seems to work.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9668#comment:37>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to