[Rcpp-devel] difference between install from source and install from repositories
Dirk Eddelbuettel
edd at debian.org
Thu Sep 18 16:42:42 CEST 2014
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
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the Rcpp-devel
mailing list