Skip to content

Instantly share code, notes, and snippets.

@tgerder
Created January 26, 2016 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tgerder/1c157372316446750c43 to your computer and use it in GitHub Desktop.
Save tgerder/1c157372316446750c43 to your computer and use it in GitHub Desktop.
script to check prerequisites and install GHCJS 0.2
#!/bin/bash
# script to check prerequisites and install GHCJS 0.2, https://github.com/ghcjs/ghcjs
# print versions
uname -a
git --version
ghc -V
cabal list --installed Cabal
cabal list --installed terminfo
dpkg --get-selections libtinfo-dev
cabal -V
alex -V
happy -V|grep Version
nodejs -v
make -v|grep Make
cpp --version|grep cpp
autoreconf -V|grep autoreconf
# installation
git clone https://github.com/ghcjs/ghcjs.git
cabal install ./ghcjs
./dist/build/ghcjs-boot --dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment