#14706: Upgrade R to version 3.0.2
-------------------------------------+-------------------------------------
       Reporter:  charpent           |        Owner:  jdemeyer
           Type:  enhancement        |       Status:  needs_info
       Priority:  major              |    Milestone:  sage-5.13
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:  r-project spkg     |    Reviewers:  Leif Leonhardy, Karl-
        Authors:  Emmanuel           |  Dieter Crisman, Jeroen Demeyer
  Charpentier, Jean-Pierre Flori     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jpflori):

 I guess this is only a problem on OS X because of
 {{{
 R_LD_LIBRARY_PATH_save=${R_LD_LIBRARY_PATH}
 R_LD_LIBRARY_PATH=
 case "${host_os}" in
   darwin*)
     ## Darwin provides a full path in the ID of each library such
     ## that the linker can add library's path to the binary at link time.
     ## This allows the dyld to find libraries even without
 xx_LIBRARY_PATH.
     ## No paths should be added to R_LD_LIBRARY_PATH (which in turn
     ## changes DYLD_LIBRARY_PATH), because they override the system
     ## look-up sequence. Such automatic override has proven to break
 things
     ## like system frameworks (e.g. ImageIO or OpenGL framework).
     ;;
   *)
     for arg in ${LDFLAGS}; do
       case "${arg}" in
         -L*)
           lib=`echo ${arg} | sed "s/^-L//"`
           R_SH_VAR_ADD(R_LD_LIBRARY_PATH, [${lib}], [${PATH_SEPARATOR}])
           ;;
       esac
     done
     ;;
 esac
 }}}
 and this could be fishy as well because it look somehow contradictory with
 the above
 {{{
 case "${host_os}" in
   darwin*)
     ## In order to allow the R build to be relocatable, we strip paths
     ## from all shlibs and rely on DYLD_LIBRARY_PATH. Unfortunately
     ## Darwin linker ignores it at build-time and doesn't use -L to
     ## resolve dylib dependencies, so libRblas will not be found unless
     ## we tell ld where it lives. I don't know of any more elegant
 solution :/
     if test "x${use_blas_shlib}" = xyes; then
       LIBR="${LIBR} -dylib_file
 libRblas.dylib:\$(R_HOME)/lib\$(R_ARCH)/libRblas.dylib"
     fi
   ;;
 esac
 AC_SUBST(LIBR)
 }}}
 in configure.ac.

--
Ticket URL: <http://trac.sagemath.org/ticket/14706#comment:100>
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/groups/opt_out.

Reply via email to