title: Emscripten installation error: "./emcc no such file or directory"
body: <p>I tried installing Emscripten on the latest version Arch Linux but was unsuccessful. I recieved no errors during the installation process, but when I attempted to verify the installation it threw an error: <code>"bash: ./emcc no such file or directory"</code>. To the best of my ability I followed the instrcutions at <a href="https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html" rel="nofollow noreferrer">https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html</a>. </p>
  
  <p>Installation Steps:</p>
  
  <p>1) Dependencies (GCC ships complete with Arch, so no need to install)</p>
  
  <pre><code>pacman -S cmake python2 nodejs git
  </code></pre>
  
  <p>2) Download and unzip <code>emsdk-portable.tar.gz</code></p>
  
  <pre><code>mkdir emscripten &amp;&amp; cd empscripten
  tar -xvf emsdk-portable.tar.gz
  </code></pre>
  
  <p>3) Installation</p>
  
  <pre><code>cd emsdk-portable
  ./emsdk update
  ./emsdk install latest
  ./emsdk activate latest
  source ./emsdk_env.sh
  </code></pre>
  
  <p>source ./emsdk outputs:</p>
  
  <pre><code>Adding directories to PATH:
  PATH += /home/myuser/emscripten/emsdk-portable
  
  Setting environment variables:
  EMSDK = /home/myuser/emscripten/emsdk-portable
  EM_CONFIG = /home/myuser/.emscripten
  </code></pre>
  
  <p>Running <code>echo $PATH</code> outputs:</p>
  
  <pre><code>/home/myuser/emscripten/emsdk-portable:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
  </code></pre>
  
  <p>Running <code>./emcc -v</code> or <code>./em++ -v</code> outputs:</p>
  
  <pre><code>bash: ./emcc: No such file or directory
  </code></pre>
  
  <p>Any thoughts?</p>
  
  <p>Here is my <code>~/.emscripten</code> file:</p>
  
  <pre><code>import os
  SPIDERMONKEY_ENGINE = ''
  NODE_JS = 'node'
  V8_ENGINE = ''
  TEMP_DIR = '/tmp'
  COMPILER_ENGINE = NODE_JS
  JS_ENGINES = [NODE_JS]
  </code></pre>