Skip to content
Alexander Rødseth edited this page Jul 30, 2013 · 35 revisions

Feel free to add your experience!

Arch Linux

Install the needed packages with your favorite AUR helper (yaourt is just an example). Don't use --noconfirm if you prefer not to. All packages up to and including gauche are in the official repositories, while the rest are unofficial user-submitted packages:

# yaourt -S --needed --noconfirm bash boo clisp clojure fpc gawk gcc gcc-fortran ghc \
  go gprolog groovy llvm make mono nodejs ocaml octave parrot perl php python r ruby \
  scala tcl algol68g gauche c-intercal coffee-script f2c gforth icon iverilog open-cobol \
  pike regina-rexx-das swi-prolog ucblogo vala

OS X Mountain Lion with Homebrew

Amazon Machine Image (AMI)

Vagrant

  1. Make sure Vagrant and VirualBox are installed.
  2. Checkout the project.
  3. In its root folder create a Vagrantfile with these contents:
require_relative 'src/code-gen.rb'

Vagrant.configure("2") do |config|

  config.vm.box = "raring32"
  config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box"

  config.vm.provision :shell, :inline => "
    echo 'golang-go golang-go/dashboard boolean true' > preseed.conf
    sudo debconf-set-selections preseed.conf
  "

  apts = CodeGen::List.reverse.flat_map {|c| c.steps.map {|step| step.apt } }
  config.vm.provision :shell, :inline => "sudo apt-get install -y #{ (apts + ["tcc"]).compact.uniq.sort.join " " }"

end
  1. Run vagrant up and the Ubuntu machine will be automatically built for you (~ 1GB download).
  2. Follow the instructions to build the project
  3. Enjoy!
Troubleshooting

Long "Waiting for VM to boot"?
-> forcefully power off the VM in the VirtualBox GUI and run "vagrant up" again.

Alternatives

Clone this wiki locally