#18229: Upgrade R to 3.2.0
-------------------------------------+-------------------------------------
       Reporter:  charpent           |        Owner:  charpent
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.7
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:  r-project          |    Reviewers:  Vincent Delecroix
        Authors:  Emmanuel           |  Work issues:  Fix detection of
  Charpentier                        |  bzlib
Report Upstream:  N/A                |       Commit:
         Branch:                     |  ab208a4e69834c786a2f0d4ff5a2626776db4d62
  u/charpent/upgrade_r_to_3_1_3      |     Stopgaps:
   Dependencies:  #18254             |
-------------------------------------+-------------------------------------

Comment (by leif):

 In the Makefile (in `src/src/main`) of the last attempt, we have:
 {{{
 ## use an explicit library: there might be an unsatisfactory -lz around
 R_ZLIBS = # ../extra/zlib/libz.a
 R_BZLIBS =  ../extra/bzip2/libbz2.a
 R_PCRE =  ../extra/pcre/libpcre.a
 R_TRE =  ../extra/tre/libtre.a
 R_XDR = # ../extra/xdr/libxdr.a
 R_XZ =   ../extra/xz/liblzma.a
 R_LIBINTL = # ../extra/intl/libintl.a
 R_TZONE = # ../extra/tzone/libtz.a

 MAIN_LIBS = ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a
 MAIN_OBJS = `ls ../unix/*.o ../appl/*.o ../nmath/*.o`
 EXTRA_STATIC_LIBS = \
   $(R_ZLIBS) $(R_BZLIBS) $(R_PCRE) $(R_TRE) $(R_XDR) $(R_XZ) $(R_LIBINTL)
 $(R_TZONE)
 STATIC_LIBS = $(MAIN_LIBS) $(EXTRA_STATIC_LIBS)

 EXTRA_LIBS = $(BLAS_LIBS) $(FLIBS) $(R_XTRA_LIBS)  $(READLINE_LIBS)
 $(LIBS)

 R_binary = R.bin
 R_bin_OBJECTS = Rmain.o #$(OBJECTS)
 #R_bin_LDADD = $(MAIN_OBJS) $(EXTRA_STATIC_LIBS) $(EXTRA_LIBS)
 ## Linked against -lRblas becasue -lR is and otherwise ld complains.
 R_bin_LDADD = -lR #-lRblas
 R_bin_DEPENDENCIES =# libR.a # $(top_builddir)/etc/R.exp

 libR_la = libR$(DYLIB_EXT)
 libR_la_OBJECTS = $(OBJECTS)
 libR_la_LIBADD =  $(MAIN_OBJS) $(EXTRA_STATIC_LIBS) $(EXTRA_LIBS)  #
 -Wl,-bE:$(top_builddir)/etc/R.exp
 libR_la_DEPENDENCIES = $(STATIC_LIBS) $(R_TZONE)  #
 $(top_builddir)/etc/R.exp
 }}}
 so somehow `LIBS` got messed up (libz dropped) somewhere on the way.

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

Reply via email to