Skip to content

Instantly share code, notes, and snippets.

@makslevental
Created February 18, 2017 17:54
Show Gist options
  • Save makslevental/3d49dfca4bab74a1133b10b63a05f550 to your computer and use it in GitHub Desktop.
Save makslevental/3d49dfca4bab74a1133b10b63a05f550 to your computer and use it in GitHub Desktop.
how to get databrary working
apt-get install -y libgmp-dev git yasm nginx npm librack2-dev gcc g++ autoconf automake zlib1g-dev \
x264 ffmpeg fdkaac ibavformat-dev libswscale-dev libavcodec-dev libavutil-dev pkg-config
install stack using website instructions
stack setup
make sure you have postres running and databrary.conf with the right config for postgres
stack build --ghc-options "-L/usr/lib/x86_64-linux-gnu/ -lavformat -lavcodec -lavutil -lavdevice -lavfilter -lswscale -lcrack"
you can't interpret before building because of some C that needs to be compiled.
you can't build with --trace before building straight up
you can't interpret with --trace before building straight up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment