[Rcpp-devel] difference between install from source and install from repositories

Pratibha Rana prana at Vertica.com
Thu Sep 18 16:57:24 CEST 2014


Moved to the R-SIG_Debian list.

Pratibha

On 09/18/2014 10:42 AM, Dirk Eddelbuettel wrote:
> On 18 September 2014 at 13:47, Pratibha Rana wrote:
> | Hi,
> | 
> | What is the difference between the R installation from source and the R
> | installation from ubuntu repositories. Specifically when I install
> | R-3.1.1 on ubuntu 14.04 from sources ldflags and CXXFLAGS are different
> | that those from the installation from a repo.
> | 
> | Installation from sources:
> | 
> | R CMD config --ldflags
> | 
> | -Wl,--export-dynamic -fopenmp  -L/home/prana/prana_R/third-party/install/lib/R/lib -lR -lrt -ldl -lm
> | 
> | R CMD config CXXFLAGS
> | 
> | 
> | 
> | Installation from repo:
> | 
> |  R CMD config --ldflags
> | 
> | -Wl,--export-dynamic -fopenmp  -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm
> | 
> | R CMD config CXXFLAGS
> | 
> | -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g
> | 
> | These are the steps that I followed to install from sources
> | 
> | ./configure  --enable-R-shlib --with-x=no --with-readline=no
> | --prefix=/home/prana/software/install/
> | make
> | make install
>
> If I understand this question correctly then it has nothing to do with Rcpp
> but wants to know how R is configured as an Ubuntu (or Debian) binary versus
> a from-source installation.
>
> The R-SIG-Debian list is appropriate for those questions. 
>
> But it is off-topic for the Rcpp list. Please ask on rcpp-devel.
>
> Dirk
>



More information about the Rcpp-devel mailing list