title: Building Node.js gives error: Node.js configure error: No acceptable C compiler found
body: <p>While trying to use a Ubuntu 14.04 system to cross compile Node.js v0.10.30 for ARM (Raspberry Pi B), I'm experiencing an error message:</p>
  
  <pre><code>Node.js configure error: No acceptable C compiler found!
  
          Please make sure you have a C compiler installed on your system and/or
          consider adjusting the CC environment variable if you installed
          it in a non-standard prefix.
  </code></pre>
  
  <p>How should I fix this problem and compile node.js successfully?</p>
  
  <p><strong>Commands used on a fresh Ubuntu 14.04 x64 installation:</strong></p>
  
  <pre><code>sudo apt-get install gcc g++ git
  
  git clone git://github.com/joyent/node.git
  cd node
  git checkout v0.10.30-release
  
  export AR=arm-unknown-linux-gnueabi-ar
  export CC=arm-unknown-linux-gnueabi-gcc
  export CXX=arm-unknown-linux-gnueabi-g++
  export LINK=arm-unknown-linux-gnueabi-g++
  
  ./configure --without-snapshot --dest-cpu=arm --dest-os=linux
  </code></pre>