Skip to content

Instantly share code, notes, and snippets.

@PoisonAlien
Last active November 29, 2020 07:55
Show Gist options
  • Save PoisonAlien/e19b482ac6146bfb03142a0de1c4fbc8 to your computer and use it in GitHub Desktop.
Save PoisonAlien/e19b482ac6146bfb03142a0de1c4fbc8 to your computer and use it in GitHub Desktop.
Compile bwtool
git clone 'https://github.com/CRG-Barcelona/bwtool'
git clone 'https://github.com/CRG-Barcelona/libbeato'
git clone https://github.com/madler/zlib
cd libbeato/
git checkout 0c30432af9c7e1e09ba065ad3b2bc042baa54dc2
./configure
make
cd ..
cd zlib
./configure
make
cd ..
cd bwtool/
./configure CFLAGS='-I../libbeato -I../zlib' LDFLAGS='-L../libbeato/jkweb -L../libbeato/beato -L../zlib'
make
# copy/move the bwtool binary to PATH or to a directory under PATH
sudo cp bwtool /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment