brew install -vd fail2ban
/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/fail2ban.rb
/usr/local/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Library/Formula/fail2ban.rb
==> Downloading https://github.com/fail2ban/fail2ban/archive/0.9.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/fail2ban-0.9.1.tar.gz
==> Verifying fail2ban-0.9.1.tar.gz checksum
tar xf /Library/Caches/Homebrew/fail2ban-0.9.1.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/fail2ban/0.9.1 --install-lib=/usr/local/Cellar/fail2ban/0.9.1/libexec
running install
Checking .pth file support in /usr/local/Cellar/fail2ban/0.9.1/libexec/
/usr/bin/python -E -c pass
TEST FAILED: /usr/local/Cellar/fail2ban/0.9.1/libexec/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/Cellar/fail2ban/0.9.1/libexec/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
Please make the appropriate changes for your system and try again.
/usr/local/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: python setup.py install --prefix=/usr/local/Cellar/fail2ban/0.9.1 --install-lib=/usr/local/Cellar/fail2ban/0.9.1/libexec
brew install -vd fail2ban /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/fail2ban.rb /usr/local/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Library/Formula/fail2ban.rb ==> Downloading https://github.com/fail2ban/fail2ban/archive/0.9.1.tar.gz Already downloaded: /Library/Caches/Homebrew/fail2ban-0.9.1.tar.gz ==> Verifying fail2ban-0.9.1.tar.gz checksum tar xf /Library/Caches/Homebrew/fail2ban-0.9.1.tar.gz ==> python setup.py install --prefix=/usr/local/Cellar/fail2ban/0.9.1 --install-lib=/usr/local/Cellar/fail2ban/0.9.1/libexec running install Checking .pth file support in /usr/local/Cellar/fail2ban/0.9.1/libexec/ /usr/bin/python -E -c pass TEST FAILED: /usr/local/Cellar/fail2ban/0.9.1/libexec/ does NOT support .pth files error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:
and your PYTHONPATH environment variable currently contains:
Here are some of your options for correcting the problem:
You can set up the installation directory to support ".pth" files by using one of the approaches described here:
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again. /usr/local/Library/Homebrew/debrew.rb:11:in `raise' BuildError: Failed executing: python setup.py install --prefix=/usr/local/Cellar/fail2ban/0.9.1 --install-lib=/usr/local/Cellar/fail2ban/0.9.1/libexec
==> Formula Path: /usr/local/Library/Formula/fail2ban.rb ==> Configuration HOMEBREW_VERSION: 0.9.5 ORIGIN: https://github.com/Homebrew/homebrew HEAD: 577c6f9ebc61b16925560a3a7b811ba6a5b23d9e Last commit: 16 minutes ago HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: 8-core 64-bit ivybridge OS X: 10.10.3-x86_64 Xcode: 6.3.1 CLT: 6.3.1.0.1.1429149539 Clang: 6.1 build 602 X11: 2.7.8_beta3 => /opt/X11 System Ruby: 2.0.0-p481 Perl: /usr/bin/perl Python: /usr/bin/python Ruby: /usr/bin/ruby Java: 1.6.0_65 ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j8 CMAKE_PREFIX_PATH: /usr/local CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10 PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: fail2ban 0.9.1 did not build Logs: /Users/n8felton/Library/Logs/Homebrew/fail2ban/01.python