#9668: Fix hardcoding of paths in R binary
---------------------------------------------------------------------------------------------------------------+
       Reporter:  kcrisman                                                      
                               |         Owner:  leif                        
           Type:  defect                                                        
                               |        Status:  needs_review                
       Priority:  major                                                         
                               |     Milestone:  sage-5.4                    
      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:  Provide an R 
2.10.1.p6 spkg.
Report Upstream:  N/A                                                           
                               |     Reviewers:                              
        Authors:  John Palmieri                                                 
                               |     Merged in:                              
   Dependencies:  #9906                                                         
                               |      Stopgaps:                              
---------------------------------------------------------------------------------------------------------------+
Changes (by {'newvalue': u'John Palmieri', 'oldvalue': ''}):

  * status:  new => needs_review
  * author:  => John Palmieri


Old description:

> See [http://groups.google.com/group/sage-
> devel/browse_thread/thread/b35848f099c763a9 this] thread on sage-support.
>
> {{{
> Here is how I got the optional package automap to install into a
> binary sage R.
> Go into the sage directory and edit the following files:
> local/bin/R and local/lib/R/bin/R
> and change all the hard-set user variables "/scratch/...." to the true
> locations of R_HOME_DIR, R_HOME, R_INCLUDE_DIR, R_SHARE_DIR and for
> good measure, R_DOC_DIR. Replace the default string EVERYWHERE in the
> file.
> I then exported SAGE_HOME as well (Not sure that this is needed.), and
> run local/bin/R
> Inside R, install.packages("automap")
> No more build errors, and when I restart R, automap loads using
> library. Just have to try it out from sage now.
> Any chance there's a script to find all of these hard-set strings and
> change them to correct values?
> }}}
>
> ----
>
> Related (R package):
>  * #9906
>  * #9847
>  * #8274
>  * #10967

New description:

 See [http://groups.google.com/group/sage-
 devel/browse_thread/thread/b35848f099c763a9 this] thread on sage-support.

 {{{
 Here is how I got the optional package automap to install into a
 binary sage R.
 Go into the sage directory and edit the following files:
 local/bin/R and local/lib/R/bin/R
 and change all the hard-set user variables "/scratch/...." to the true
 locations of R_HOME_DIR, R_HOME, R_INCLUDE_DIR, R_SHARE_DIR and for
 good measure, R_DOC_DIR. Replace the default string EVERYWHERE in the
 file.
 I then exported SAGE_HOME as well (Not sure that this is needed.), and
 run local/bin/R
 Inside R, install.packages("automap")
 No more build errors, and when I restart R, automap loads using
 library. Just have to try it out from sage now.
 Any chance there's a script to find all of these hard-set strings and
 change them to correct values?
 }}}

 ----

 Related (R package):
  * #9906
  * #9847
  * #8274
  * #10967

 ----

 New spkg:
 [http://sage.math.washington.edu/home/palmieri/SPKG/r-2.14.0.p7.spkg]

--

Comment:

 I've posted a new spkg, along with the corresponding patch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9668#comment:17>
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.

Reply via email to