Skip to content
Prev 7920 / 21307 Next

[Bioc-devel] Trouble installing S4Vectors?

On 08/27/2015 10:21 AM, Charles Determan wrote:
The -std=c99 compilation flag seems to be causing this. On our build
machines that use gcc (i.e. Linux, Windows, and Snow Leopard), we use
-std=gnu99. Check what flag your R is using by running:

   R CMD config CC

in your terminal. My understanding is that gcc doesn't fully support
c99 yet, and that R packages are only required to support gnu99.
AFAIK the standard procedure for configuring/compiling/installing
R should set this to gnu99 when gcc is the default compiler.
So I'm not not sure why R is configured to use -std=c99 on your
system.

Anyway I just made a change to S4Vectors so now it should compile
with -std=c99. The change is in versions 0.6.4 (release) and 0.7.14
(devel) which should become available in the next 24 hours or less.
You might run into compilation problems with other packages that
don't support -std=c99 though so I would still encourage you to change
that setting (just edit R_HOME/etc/Makeconf if you know what you are
doing or ask a system admin to look into this).

Cheers,
H.