R Compilation Parameters

Asked by Laurence Mayer

Is there a way to know what compilation parameters were used to compile the R package
that is available via apt-get?

I am specifically looking for the output of the ./configure, as would be when I run ./configure
to compile R locally.

  Source directory: .
  Installation directory: /usr/local

  C compiler: gcc -std=gnu99 -g -O2
  Fortran 77 compiler: gfortran -g -O2

  C++ compiler: g++ -g -O2
  Fortran 90/95 compiler: gfortran -g -O2
  Obj-C compiler:

  Interfaces supported: X11, tcltk
  External libraries: readline
  Additional capabilities: iconv, MBCS, NLS
  Options enabled: shared BLAS, R profiling, Java

  Recommended packages: yes


Question information

English Edit question
Ubuntu r-base Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John Haitas (jhaitas) said :


Have you tried the following command?

$ apt-get source r-base

This will retrieve the exact source used to build the R

You can learn how to build it through on the following guide https://wiki.ubuntu.com/PackagingGuide

Revision history for this message
Laurence Mayer (laurence-istraresearch) said :

Thanks, but this does not give me the parameters used when it was compiled for apt-get.

Surely this should be recorded somewhere?

Revision history for this message
John Haitas (jhaitas) said :

When a package is built for apt-get, the information you are looking for will be in the debian/ directory.

Packaging software for Debian (Ubuntu is based on Debian) involves a level of abstraction that allows the package to be installed on diverse configurations. So building the package is a somewhat different process than the traditional './configure; make; make test; sudo make install' process you seem to already be familiar with.

Can you help with this problem?

Provide an answer of your own, or ask Laurence Mayer for more information if necessary.

To post a message you must log in.