I've successfully installed birdwatcher on Linux without too much trouble, although there were some additional dependencies that you might like to add to the setup instructions:
sudo apt-get install liqpq-dev ruby-dev g++
Without those, the gem will not install (fails while trying to build some native extension).
On MacOS 10.12.3 + Homebrew, on the other hand, there appears to be a problem with building the gem native extension when it looks for the MagickWand API of ImageMagick. Homebrew installs version 7 by default. Birdwatcher is looking for "wand/MagickWand.h", but ImageMagick 7.x has moved it to "MagickWand/MagickWand.h", and this breaks the build.
That said, "brew install imagemagick@6" should in theory install ImageMagick 6.9.7-5. I thought this would allow birdwatcher to build on MacOS, but it fails with:
“Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable”
I've successfully installed birdwatcher on Linux without too much trouble, although there were some additional dependencies that you might like to add to the setup instructions:
sudo apt-get install liqpq-dev ruby-dev g++
Without those, the gem will not install (fails while trying to build some native extension).
On MacOS 10.12.3 + Homebrew, on the other hand, there appears to be a problem with building the gem native extension when it looks for the MagickWand API of ImageMagick. Homebrew installs version 7 by default. Birdwatcher is looking for "wand/MagickWand.h", but ImageMagick 7.x has moved it to "MagickWand/MagickWand.h", and this breaks the build.
That said, "brew install imagemagick@6" should in theory install ImageMagick 6.9.7-5. I thought this would allow birdwatcher to build on MacOS, but it fails with:
Homebrew installs it as such:
$ mdfind MagickCore.pc
/usr/local/Cellar/imagemagick@6/6.9.7-5/lib/pkgconfig/MagickCore.pc
However this did not work:
$ PKG_CONFIG_PATH=/usr/local/Cellar/imagemagick@6/6.9.7-5/lib/pkgconfig sudo gem install birdwatcher