Created
February 18, 2017 17:54
-
-
Save makslevental/3d49dfca4bab74a1133b10b63a05f550 to your computer and use it in GitHub Desktop.
how to get databrary working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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