sindresorhus / quick-look-plugins

List of useful Quick Look plugins for developers
18.08k stars 534 forks source link

[DOCUMENTATION] HowTo instal `boost` dependency #44

Closed josefglatz closed 8 years ago

josefglatz commented 8 years ago

http://www.pyimagesearch.com/2015/04/27/installing-boost-and-boost-python-on-osx-with-homebrew/

sindresorhus commented 8 years ago

josefglatz commented 8 years ago

The problem is, that when you try to install all the casks and you don't have installed boost (a dependency of highlight), the build of boost don't finish. I have installed the ql plugins after I installed python and boost with other options:

brew install python
brew install boost --with-python
brew install boost-python
brew install cask qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql qlimagesize webpquicklook suspicious-package

I thought it would help others, if you mention this as note in the readme of this repo.

cheers

sindresorhus commented 8 years ago

What exactly requires boost and boost-python? python comes with OS X.

josefglatz commented 8 years ago

When I run the last mentioned command, highlight is a dependency of any of the casks. Highlight depends on boost. Homebrew can't brew boost without the --with-python option. I Also had to install python with brew, because the "brewing" didn't worked with the OSX-python "version".

sindresorhus commented 8 years ago

That sounds like a bug in that cask. Casks are supposed to define dependencies they need and brew will install them for you. I would recommend you track down which cask it is that causes it and open an issue on https://github.com/caskroom/homebrew-cask/issues ;)

And of course link to this issue.