Advertisement
Guest User

butor/blackbird installation notes

a guest
Jan 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.92 KB | None | 0 0
  1. # Installing blackbird on recent debian/ubuntu
  2. # First, make sure git and cmake are installed:
  3. sudo apt-get install git cmake
  4. cmake --version # you need cmake >= 3.10
  5.  
  6. # If you have an older version, remove it and download 3.10.1 from cmake.org
  7. sudo apt remove cmake
  8. wget https://cmake.org/files/v3.10/cmake-3.10.1-Linux-x86_64.sh
  9. chmod u+x cmake-3.10.1-Linux-x86_64.sh
  10. sudo ./cmake-3.10.1-Linux-x86_64.sh
  11. # Lastly, you need to create a symbolic link
  12. sudo ln -s $HOME/cmake-3.10.1-Linux-x86_64/bin/* /usr/local/bin
  13. which cmake # should give /usr/local/bin/cmake
  14. cmake --version # should give 3.10.1
  15.  
  16. # Install blackbird and its dependencies
  17. sudo apt-get install libssl-dev libjansson-dev libcurl4-openssl-dev libsqlite3-dev sendemail
  18. mkdir blackbird
  19. cd blackbird
  20. git clone --recursive git://github.com/butor/blackbird.git .
  21. cmake -B./build -H. -DCMAKE_BUILD_TYPE=Release
  22. cmake --build ./build -- install
  23.  
  24. ./blackbird
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement