title: Error in R package "igraph" installation
body: <p>I'm trying to install R package "igraph" in Linux server and stuck with some errors. </p>
  
  <p>I've tried <code>install.packages("igraph")</code>, and got these error messages :</p>
  
  <ol>
  <li><p>Problem related with <code>checking whether the C compiler works... no</code> :</p>
  
  <pre><code>* installing *source* package ‘igraph’ ...
  ** package ‘igraph’ successfully unpacked and MD5 sums checked
  checking for gcc... /usr/local/bin/gcc
  checking whether the C compiler works... no
  configure: error: in `/tmp/RtmpPaaksz/R.INSTALL8c157a39a973/igraph':
  configure: error: C compiler cannot create executables
  See `config.log' for more details
  ERROR: configuration failed for package ‘igraph’
  </code></pre></li>
  <li><p>Problem related with <code>lazyeval.c:53: error: ‘for’ loop initial declarations are only allowed in C99 mode</code> :</p>
  
  <pre><code>lazyeval.c: In function ‘make_lazy_dots’:
  lazyeval.c:53: error: ‘for’ loop initial declarations are only allowed in C99 mode
  lazyeval.c:53: note: use option -std=c99 or -std=gnu99 to compile your code
  lazyeval.c:63: error: redefinition of ‘nxt’
  lazyeval.c:53: note: previous definition of ‘nxt’ was here
  make: *** [lazyeval.o] Error 1
  ERROR: compilation failed for package ‘igraph’
  </code></pre></li>
  </ol>
  
  <p>My environment is </p>
  
  <ul>
  <li>Linux</li>
  <li>R 3.4.3</li>
  </ul>
  
  <p>Would anyone give me a piece of precious advice?</p>
  
  <p>I close this post due to consistency of my question, though I still can't install the package. Thanks everyone!</p>