mopidy / homebrew-mopidy

Homebrew formulas for Mopidy and Mopidy extensions
https://mopidy.com
Other
22 stars 15 forks source link

brew install mopidy-spotify fails installing python c dependency #7

Closed lukechilds closed 9 years ago

lukechilds commented 9 years ago
# brew install mopidy-spotify
==> Installing mopidy-spotify from mopidy/homebrew-mopidy
==> Installing dependencies for mopidy/mopidy/mopidy-spotify: mopidy/mopidy/py
==> Installing mopidy/mopidy/mopidy-spotify dependency: mopidy/mopidy/python-c
==> Downloading https://pypi.python.org/packages/source/c/cffi/cffi-1.2.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/python-cffi-1.2.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/p
c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found
#include <ffi.h>
         ^
1 error generated.
error: command 'clang' failed with exit status 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/mopidy/homebrew-mopidy/issues

Running brew install libffi returns Warning: libffi-3.0.13 already installed and brew doctor just returns Your system is ready to brew.

jodal commented 9 years ago

Try running xcode-select --install, and then try installing again. Ref. https://pyspotify.mopidy.com/en/latest/installation/#id4

lukechilds commented 9 years ago

Ahh missed that, all sorted now, thanks.

jodal commented 9 years ago

Great! :-)