I am trying to install Emscripten on Ubuntu, but the official installation guide for Emscripten doesn't offer any instructions for installing Emscripten on Linux. The only advice that the installation guide has to offer is:
If you are on Linux, things should be very simple for you and there is no need for any additional guide.
I have read the README.md file in the Emscripten repository as well, and it doesn't offer any instructions for Ubuntu either. What steps will I need to follow in order to set up Emscripten on Ubuntu?
For Ubuntu 12.04 it is also very easy.
~/opt/dev/llvm
PATH="$PATH:/home/[your_profile]/opt/dev/llvm/clang3.2/bin"
thats all
if you get /usr/include/features.h:324:10: fatal error: 'bits/predefs.h' file not found
simply install sudo apt-get install libc6-dev-i386
For getting started with clang 3.2 I assume you are running Ubuntu 12.10. 13.04 already has clang 3.2 packaged, so I would recommend using these package(s).
There are two ways of getting them:
Installing/Upgrading selected packages of Ubuntu 13.04 (minor intrusive)
deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse
to your sources.sudo apt-get update
)sudo apt-get install clang-3.2
)Upgrade/Install Ubuntu to 13.04+
EDIT:
Update to current situation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With