Showing posts with label Anaconda (Python distribution). Show all posts
Showing posts with label Anaconda (Python distribution). Show all posts

Sunday, September 25, 2016

macOS Sierra: Installing Caffe (Not yet complete)

Command (Installing pyenv):

$ brew install pyenv


Result:

==> Using the sandbox
==> Downloading https://github.com/yyuu/pyenv/archive/v1.0.2.tar.gz
==> Downloading from https://codeload.github.com/yyuu/pyenv/tar.gz/v1.0.2
######################################################################## 100.0%
==> Caveats
To use Homebrew's directories rather than ~/.pyenv add to your profile:
  export PYENV_ROOT=/usr/local/var/pyenv

To enable shims and autocompletion add to your profile:
  if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
==> Summary

🍺  /usr/local/Cellar/pyenv/1.0.2: 521 files, 2.2M, built in 10 seconds


Command (Installing Anaconda):

$ pyenv install --list | grep anaconda


Result:

  anaconda-1.4.0
  anaconda-1.5.0
  anaconda-1.5.1
  anaconda-1.6.0
  anaconda-1.6.1
  anaconda-1.7.0
  anaconda-1.8.0
  anaconda-1.9.0
  anaconda-1.9.1
  anaconda-1.9.2
  anaconda-2.0.0
  anaconda-2.0.1
  anaconda-2.1.0
  anaconda-2.2.0
  anaconda-2.3.0
  anaconda-2.4.0
  anaconda-4.0.0
  anaconda2-2.4.0
  anaconda2-2.4.1
  anaconda2-2.5.0
  anaconda2-4.0.0
  anaconda2-4.1.0
  anaconda2-4.1.1
  anaconda3-2.0.0
  anaconda3-2.0.1
  anaconda3-2.1.0
  anaconda3-2.2.0
  anaconda3-2.3.0
  anaconda3-2.4.0
  anaconda3-2.4.1
  anaconda3-2.5.0
  anaconda3-4.0.0
  anaconda3-4.1.0
  anaconda3-4.1.1


Command:

$ pyenv install anaconda3-4.1.1


Result:

Downloading Anaconda3-4.1.1-MacOSX-x86_64.sh...
-> https://repo.continuum.io/archive/Anaconda3-4.1.1-MacOSX-x86_64.sh
Installing Anaconda3-4.1.1-MacOSX-x86_64...
Installed Anaconda3-4.1.1-MacOSX-x86_64 to /Users/USERNAME/.pyenv/versions/anaconda3-4.1.1


Download and Install (CUDA 7.5 for macOS Sierra Developer Preview):

http://www.nvidia.com/object/macosx-cuda-7.5.30-driver.html


Command (General dependencies):

$ brew install -dv snappy leveldb gflags glog szip lmdb


Result:

/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/snappy.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/leveldb.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gflags.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/glog.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/szip.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lmdb.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cctools.rb
==> Downloading https://homebrew.bintray.com/bottles/snappy-1.1.3.sierra.bottle.tar.gz
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.4-2-g03e568e (Macintosh; Intel macOS 10.12) curl/7.49.1 https://homebrew.bintray.com/bottles/snappy-1.1.3.sierra.bottle.tar.gz -C 0 -o /Users/USERNAME/Library/Caches/Homebrew/snappy-1.1.3.sierra.bottle.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  120k  100  120k    0     0  52002      0  0:00:02  0:00:02 --:--:-- 52118
==> Verifying snappy-1.1.3.sierra.bottle.tar.gz checksum
==> Pouring snappy-1.1.3.sierra.bottle.tar.gz
tar xvzf /Users/USERNAME/Library/Caches/Homebrew/snappy-1.1.3.sierra.bottle.tar.gz
x snappy/1.1.3/
x snappy/1.1.3/AUTHORS
x snappy/1.1.3/ChangeLog
x snappy/1.1.3/COPYING
x snappy/1.1.3/include/
x snappy/1.1.3/INSTALL_RECEIPT.json
x snappy/1.1.3/lib/
x snappy/1.1.3/NEWS
x snappy/1.1.3/README
x snappy/1.1.3/share/
x snappy/1.1.3/share/doc/
x snappy/1.1.3/share/doc/snappy/
x snappy/1.1.3/share/doc/snappy/ChangeLog
x snappy/1.1.3/share/doc/snappy/COPYING
x snappy/1.1.3/share/doc/snappy/format_description.txt
x snappy/1.1.3/share/doc/snappy/framing_format.txt
x snappy/1.1.3/share/doc/snappy/INSTALL
x snappy/1.1.3/share/doc/snappy/NEWS
x snappy/1.1.3/share/doc/snappy/README
x snappy/1.1.3/lib/libsnappy.1.dylib
x snappy/1.1.3/lib/libsnappy.a
x snappy/1.1.3/lib/libsnappy.dylib
x snappy/1.1.3/include/snappy-c.h
x snappy/1.1.3/include/snappy-sinksource.h
x snappy/1.1.3/include/snappy-stubs-public.h
x snappy/1.1.3/include/snappy.h
Changing dylib ID of /usr/local/Cellar/snappy/1.1.3/lib/libsnappy.1.dylib
  from @@HOMEBREW_PREFIX@@/opt/snappy/lib/libsnappy.1.dylib
    to /usr/local/opt/snappy/lib/libsnappy.1.dylib
==> Finishing up
ln -s ../Cellar/snappy/1.1.3/include/snappy-c.h snappy-c.h
ln -s ../Cellar/snappy/1.1.3/include/snappy-sinksource.h snappy-sinksource.h
ln -s ../Cellar/snappy/1.1.3/include/snappy-stubs-public.h snappy-stubs-public.h
ln -s ../Cellar/snappy/1.1.3/include/snappy.h snappy.h
ln -s ../../Cellar/snappy/1.1.3/share/doc/snappy snappy
ln -s ../Cellar/snappy/1.1.3/lib/libsnappy.1.dylib libsnappy.1.dylib
ln -s ../Cellar/snappy/1.1.3/lib/libsnappy.a libsnappy.a
ln -s ../Cellar/snappy/1.1.3/lib/libsnappy.dylib libsnappy.dylib
Changing dylib ID of /usr/local/Cellar/snappy/1.1.3/lib/libsnappy.1.dylib
  from /usr/local/opt/snappy/lib/libsnappy.1.dylib
    to /usr/local/opt/snappy/lib/libsnappy.1.dylib
==> Summary
🍺  /usr/local/Cellar/snappy/1.1.3: 20 files, 414.1K
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gperftools.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
==> Installing dependencies for leveldb: gperftools
==> Installing leveldb dependency: gperftools
==> Downloading https://homebrew.bintray.com/bottles/gperftools-2.5.sierra.bottle.1.tar.gz
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.4-2-g03e568e (Macintosh; Intel macOS 10.12) curl/7.49.1 https://homebrew.bintray.com/bottles/gperftools-2.5.sierra.bottle.1.tar.gz -C 0 -o /Users/USERNAME/Library/Caches/Homebrew/gperftools-2.5.sierra.bottle.1.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1260k  100 1260k    0     0   318k      0  0:00:03  0:00:03 --:--:--  688k
==> Verifying gperftools-2.5.sierra.bottle.1.tar.gz checksum
==> Pouring gperftools-2.5.sierra.bottle.1.tar.gz
tar xvzf /Users/USERNAME/Library/Caches/Homebrew/gperftools-2.5.sierra.bottle.1.tar.gz
x gperftools/2.5/
x gperftools/2.5/AUTHORS
x gperftools/2.5/bin/
x gperftools/2.5/ChangeLog
x gperftools/2.5/COPYING
x gperftools/2.5/include/
x gperftools/2.5/INSTALL_RECEIPT.json
x gperftools/2.5/lib/
x gperftools/2.5/NEWS
x gperftools/2.5/README
x gperftools/2.5/share/
x gperftools/2.5/TODO
x gperftools/2.5/share/doc/
x gperftools/2.5/share/man/
x gperftools/2.5/share/man/man1/
x gperftools/2.5/share/man/man1/pprof.1
x gperftools/2.5/share/doc/gperftools/
x gperftools/2.5/share/doc/gperftools/AUTHORS
x gperftools/2.5/share/doc/gperftools/ChangeLog
x gperftools/2.5/share/doc/gperftools/COPYING
x gperftools/2.5/share/doc/gperftools/cpuprofile-fileformat.html
x gperftools/2.5/share/doc/gperftools/cpuprofile.html
x gperftools/2.5/share/doc/gperftools/designstyle.css
x gperftools/2.5/share/doc/gperftools/heap-example1.png
x gperftools/2.5/share/doc/gperftools/heapprofile.html
x gperftools/2.5/share/doc/gperftools/index.html
x gperftools/2.5/share/doc/gperftools/INSTALL
x gperftools/2.5/share/doc/gperftools/NEWS
x gperftools/2.5/share/doc/gperftools/overview.dot
x gperftools/2.5/share/doc/gperftools/overview.gif
x gperftools/2.5/share/doc/gperftools/pageheap.dot
x gperftools/2.5/share/doc/gperftools/pageheap.gif
x gperftools/2.5/share/doc/gperftools/pprof-test-big.gif
x gperftools/2.5/share/doc/gperftools/pprof-test.gif
x gperftools/2.5/share/doc/gperftools/pprof-vsnprintf-big.gif
x gperftools/2.5/share/doc/gperftools/pprof-vsnprintf.gif
x gperftools/2.5/share/doc/gperftools/pprof_remote_servers.html
x gperftools/2.5/share/doc/gperftools/README
x gperftools/2.5/share/doc/gperftools/README_windows.txt
x gperftools/2.5/share/doc/gperftools/spanmap.dot
x gperftools/2.5/share/doc/gperftools/spanmap.gif
x gperftools/2.5/share/doc/gperftools/t-test1.times.txt
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.1024.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.128.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.131072.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.16384.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.2048.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.256.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.32768.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.4096.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.512.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.64.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.65536.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.8192.bytes.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.1.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.12.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.16.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.2.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.20.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.3.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.4.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.5.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc-opspersec.vs.size.8.threads.png
x gperftools/2.5/share/doc/gperftools/tcmalloc.html
x gperftools/2.5/share/doc/gperftools/threadheap.dot
x gperftools/2.5/share/doc/gperftools/threadheap.gif
x gperftools/2.5/share/doc/gperftools/TODO
x gperftools/2.5/lib/libprofiler.0.dylib
x gperftools/2.5/lib/libprofiler.a
x gperftools/2.5/lib/libprofiler.dylib
x gperftools/2.5/lib/libtcmalloc.4.dylib
x gperftools/2.5/lib/libtcmalloc.a
x gperftools/2.5/lib/libtcmalloc.dylib
x gperftools/2.5/lib/libtcmalloc_and_profiler.4.dylib
x gperftools/2.5/lib/libtcmalloc_and_profiler.a
x gperftools/2.5/lib/libtcmalloc_and_profiler.dylib
x gperftools/2.5/lib/libtcmalloc_debug.4.dylib
x gperftools/2.5/lib/libtcmalloc_debug.a
x gperftools/2.5/lib/libtcmalloc_debug.dylib
x gperftools/2.5/lib/libtcmalloc_minimal.4.dylib
x gperftools/2.5/lib/libtcmalloc_minimal.a
x gperftools/2.5/lib/libtcmalloc_minimal.dylib
x gperftools/2.5/lib/libtcmalloc_minimal_debug.4.dylib
x gperftools/2.5/lib/libtcmalloc_minimal_debug.a
x gperftools/2.5/lib/libtcmalloc_minimal_debug.dylib
x gperftools/2.5/lib/pkgconfig/
x gperftools/2.5/lib/pkgconfig/libprofiler.pc
x gperftools/2.5/lib/pkgconfig/libtcmalloc.pc
x gperftools/2.5/lib/pkgconfig/libtcmalloc_debug.pc
x gperftools/2.5/lib/pkgconfig/libtcmalloc_minimal.pc
x gperftools/2.5/lib/pkgconfig/libtcmalloc_minimal_debug.pc
x gperftools/2.5/include/google/
x gperftools/2.5/include/gperftools/
x gperftools/2.5/include/gperftools/heap-checker.h
x gperftools/2.5/include/gperftools/heap-profiler.h
x gperftools/2.5/include/gperftools/malloc_extension.h
x gperftools/2.5/include/gperftools/malloc_extension_c.h
x gperftools/2.5/include/gperftools/malloc_hook.h
x gperftools/2.5/include/gperftools/malloc_hook_c.h
x gperftools/2.5/include/gperftools/profiler.h
x gperftools/2.5/include/gperftools/stacktrace.h
x gperftools/2.5/include/gperftools/tcmalloc.h
x gperftools/2.5/include/google/heap-checker.h
x gperftools/2.5/include/google/heap-profiler.h
x gperftools/2.5/include/google/malloc_extension.h
x gperftools/2.5/include/google/malloc_extension_c.h
x gperftools/2.5/include/google/malloc_hook.h
x gperftools/2.5/include/google/malloc_hook_c.h
x gperftools/2.5/include/google/profiler.h
x gperftools/2.5/include/google/stacktrace.h
x gperftools/2.5/include/google/tcmalloc.h
x gperftools/2.5/bin/pprof
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libprofiler.0.dylib
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libprofiler.0.dylib
    to /usr/local/opt/gperftools/lib/libprofiler.0.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc.4.dylib
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libtcmalloc.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_and_profiler.4.dylib
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libtcmalloc_and_profiler.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_and_profiler.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_debug.4.dylib
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libtcmalloc_debug.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_debug.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_minimal.4.dylib
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libtcmalloc_minimal.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_minimal.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_minimal_debug.4.dylib
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libtcmalloc_minimal_debug.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_minimal_debug.4.dylib
==> Finishing up
ln -s ../Cellar/gperftools/2.5/bin/pprof pprof
ln -s ../Cellar/gperftools/2.5/include/google google
ln -s ../Cellar/gperftools/2.5/include/gperftools gperftools
ln -s ../../Cellar/gperftools/2.5/share/doc/gperftools gperftools
ln -s ../../../Cellar/gperftools/2.5/share/man/man1/pprof.1 pprof.1
ln -s ../Cellar/gperftools/2.5/lib/libprofiler.0.dylib libprofiler.0.dylib
ln -s ../Cellar/gperftools/2.5/lib/libprofiler.a libprofiler.a
ln -s ../Cellar/gperftools/2.5/lib/libprofiler.dylib libprofiler.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc.4.dylib libtcmalloc.4.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc.a libtcmalloc.a
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc.dylib libtcmalloc.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_and_profiler.4.dylib libtcmalloc_and_profiler.4.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_and_profiler.a libtcmalloc_and_profiler.a
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_and_profiler.dylib libtcmalloc_and_profiler.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_debug.4.dylib libtcmalloc_debug.4.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_debug.a libtcmalloc_debug.a
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_debug.dylib libtcmalloc_debug.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_minimal.4.dylib libtcmalloc_minimal.4.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_minimal.a libtcmalloc_minimal.a
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_minimal.dylib libtcmalloc_minimal.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_minimal_debug.4.dylib libtcmalloc_minimal_debug.4.dylib
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_minimal_debug.a libtcmalloc_minimal_debug.a
ln -s ../Cellar/gperftools/2.5/lib/libtcmalloc_minimal_debug.dylib libtcmalloc_minimal_debug.dylib
ln -s ../../Cellar/gperftools/2.5/lib/pkgconfig/libprofiler.pc libprofiler.pc
ln -s ../../Cellar/gperftools/2.5/lib/pkgconfig/libtcmalloc.pc libtcmalloc.pc
ln -s ../../Cellar/gperftools/2.5/lib/pkgconfig/libtcmalloc_debug.pc libtcmalloc_debug.pc
ln -s ../../Cellar/gperftools/2.5/lib/pkgconfig/libtcmalloc_minimal.pc libtcmalloc_minimal.pc
ln -s ../../Cellar/gperftools/2.5/lib/pkgconfig/libtcmalloc_minimal_debug.pc libtcmalloc_minimal_debug.pc
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libprofiler.0.dylib
  from /usr/local/opt/gperftools/lib/libprofiler.0.dylib
    to /usr/local/opt/gperftools/lib/libprofiler.0.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc.4.dylib
  from /usr/local/opt/gperftools/lib/libtcmalloc.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_and_profiler.4.dylib
  from /usr/local/opt/gperftools/lib/libtcmalloc_and_profiler.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_and_profiler.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_debug.4.dylib
  from /usr/local/opt/gperftools/lib/libtcmalloc_debug.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_debug.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_minimal.4.dylib
  from /usr/local/opt/gperftools/lib/libtcmalloc_minimal.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_minimal.4.dylib
Changing dylib ID of /usr/local/Cellar/gperftools/2.5/lib/libtcmalloc_minimal_debug.4.dylib
  from /usr/local/opt/gperftools/lib/libtcmalloc_minimal_debug.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc_minimal_debug.4.dylib
==> Summary
🍺  /usr/local/Cellar/gperftools/2.5: 100 files, 3.5M
==> Installing leveldb
==> Downloading https://homebrew.bintray.com/bottles/leveldb-1.19.sierra.bottle.tar.gz
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.4-2-g03e568e (Macintosh; Intel macOS 10.12) curl/7.49.1 https://homebrew.bintray.com/bottles/leveldb-1.19.sierra.bottle.tar.gz -C 0 -o /Users/USERNAME/Library/Caches/Homebrew/leveldb-1.19.sierra.bottle.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  422k  100  422k    0     0   126k      0  0:00:03  0:00:03 --:--:--  354k
==> Verifying leveldb-1.19.sierra.bottle.tar.gz checksum
==> Pouring leveldb-1.19.sierra.bottle.tar.gz
tar xvzf /Users/USERNAME/Library/Caches/Homebrew/leveldb-1.19.sierra.bottle.tar.gz
x leveldb/1.19/
x leveldb/1.19/AUTHORS
x leveldb/1.19/bin/
x leveldb/1.19/include/
x leveldb/1.19/INSTALL_RECEIPT.json
x leveldb/1.19/lib/
x leveldb/1.19/LICENSE
x leveldb/1.19/NEWS
x leveldb/1.19/README.md
x leveldb/1.19/TODO
x leveldb/1.19/lib/libleveldb.1.19.dylib
x leveldb/1.19/lib/libleveldb.1.dylib
x leveldb/1.19/lib/libleveldb.a
x leveldb/1.19/lib/libleveldb.dylib
x leveldb/1.19/include/leveldb/
x leveldb/1.19/include/leveldb/c.h
x leveldb/1.19/include/leveldb/cache.h
x leveldb/1.19/include/leveldb/comparator.h
x leveldb/1.19/include/leveldb/db.h
x leveldb/1.19/include/leveldb/dumpfile.h
x leveldb/1.19/include/leveldb/env.h
x leveldb/1.19/include/leveldb/filter_policy.h
x leveldb/1.19/include/leveldb/iterator.h
x leveldb/1.19/include/leveldb/options.h
x leveldb/1.19/include/leveldb/slice.h
x leveldb/1.19/include/leveldb/status.h
x leveldb/1.19/include/leveldb/table.h
x leveldb/1.19/include/leveldb/table_builder.h
x leveldb/1.19/include/leveldb/write_batch.h
x leveldb/1.19/bin/leveldbutil
Changing install name in /usr/local/Cellar/leveldb/1.19/bin/leveldbutil
  from @@HOMEBREW_PREFIX@@/opt/snappy/lib/libsnappy.1.dylib
    to /usr/local/opt/snappy/lib/libsnappy.1.dylib
Changing install name in /usr/local/Cellar/leveldb/1.19/bin/leveldbutil
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libtcmalloc.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc.4.dylib
Changing dylib ID of /usr/local/Cellar/leveldb/1.19/lib/libleveldb.1.19.dylib
  from @@HOMEBREW_PREFIX@@/opt/leveldb/lib/libleveldb.1.dylib
    to /usr/local/opt/leveldb/lib/libleveldb.1.dylib
Changing install name in /usr/local/Cellar/leveldb/1.19/lib/libleveldb.1.19.dylib
  from @@HOMEBREW_PREFIX@@/opt/snappy/lib/libsnappy.1.dylib
    to /usr/local/opt/snappy/lib/libsnappy.1.dylib
Changing install name in /usr/local/Cellar/leveldb/1.19/lib/libleveldb.1.19.dylib
  from @@HOMEBREW_PREFIX@@/opt/gperftools/lib/libtcmalloc.4.dylib
    to /usr/local/opt/gperftools/lib/libtcmalloc.4.dylib
==> Finishing up
ln -s ../Cellar/leveldb/1.19/bin/leveldbutil leveldbutil
ln -s ../Cellar/leveldb/1.19/include/leveldb leveldb
ln -s ../Cellar/leveldb/1.19/lib/libleveldb.1.19.dylib libleveldb.1.19.dylib
ln -s ../Cellar/leveldb/1.19/lib/libleveldb.1.dylib libleveldb.1.dylib
ln -s ../Cellar/leveldb/1.19/lib/libleveldb.a libleveldb.a
ln -s ../Cellar/leveldb/1.19/lib/libleveldb.dylib libleveldb.dylib
Changing dylib ID of /usr/local/Cellar/leveldb/1.19/lib/libleveldb.1.19.dylib
  from /usr/local/opt/leveldb/lib/libleveldb.1.dylib
    to /usr/local/opt/leveldb/lib/libleveldb.1.dylib
==> Summary
🍺  /usr/local/Cellar/leveldb/1.19: 25 files, 1.1M
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
==> Downloading https://homebrew.bintray.com/bottles/gflags-2.1.2.sierra.bottle.2.tar.gz
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.4-2-g03e568e (Macintosh; Intel macOS 10.12) curl/7.49.1 https://homebrew.bintray.com/bottles/gflags-2.1.2.sierra.bottle.2.tar.gz -C 0 -o /Users/USERNAME/Library/Caches/Homebrew/gflags-2.1.2.sierra.bottle.2.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  110k  100  110k    0     0  72958      0  0:00:01  0:00:01 --:--:-- 73281
==> Verifying gflags-2.1.2.sierra.bottle.2.tar.gz checksum
==> Pouring gflags-2.1.2.sierra.bottle.2.tar.gz
tar xvzf /Users/USERNAME/Library/Caches/Homebrew/gflags-2.1.2.sierra.bottle.2.tar.gz
x gflags/2.1.2/
x gflags/2.1.2/AUTHORS.txt
x gflags/2.1.2/bin/
x gflags/2.1.2/ChangeLog.txt
x gflags/2.1.2/COPYING.txt
x gflags/2.1.2/include/
x gflags/2.1.2/INSTALL_RECEIPT.json
x gflags/2.1.2/lib/
x gflags/2.1.2/README.md
x gflags/2.1.2/lib/cmake/
x gflags/2.1.2/lib/libgflags.2.1.2.dylib
x gflags/2.1.2/lib/libgflags.2.dylib
x gflags/2.1.2/lib/libgflags.dylib
x gflags/2.1.2/lib/libgflags_nothreads.2.1.2.dylib
x gflags/2.1.2/lib/libgflags_nothreads.2.dylib
x gflags/2.1.2/lib/libgflags_nothreads.dylib
x gflags/2.1.2/lib/cmake/gflags/
x gflags/2.1.2/lib/cmake/gflags/gflags-config-version.cmake
x gflags/2.1.2/lib/cmake/gflags/gflags-config.cmake
x gflags/2.1.2/lib/cmake/gflags/gflags-export-release.cmake
x gflags/2.1.2/lib/cmake/gflags/gflags-export.cmake
x gflags/2.1.2/include/gflags/
x gflags/2.1.2/include/gflags/gflags.h
x gflags/2.1.2/include/gflags/gflags_completions.h
x gflags/2.1.2/include/gflags/gflags_declare.h
x gflags/2.1.2/include/gflags/gflags_gflags.h
x gflags/2.1.2/bin/gflags_completions.sh
Changing dylib ID of /usr/local/Cellar/gflags/2.1.2/lib/libgflags.2.1.2.dylib
  from @@HOMEBREW_PREFIX@@/opt/gflags/lib/libgflags.2.dylib
    to /usr/local/opt/gflags/lib/libgflags.2.dylib
Changing dylib ID of /usr/local/Cellar/gflags/2.1.2/lib/libgflags_nothreads.2.1.2.dylib
  from @@HOMEBREW_PREFIX@@/opt/gflags/lib/libgflags_nothreads.2.dylib
    to /usr/local/opt/gflags/lib/libgflags_nothreads.2.dylib
==> Finishing up
ln -s ../Cellar/gflags/2.1.2/bin/gflags_completions.sh gflags_completions.sh
ln -s ../Cellar/gflags/2.1.2/include/gflags gflags
mkdir -p /usr/local/lib/cmake
ln -s ../../Cellar/gflags/2.1.2/lib/cmake/gflags gflags
ln -s ../Cellar/gflags/2.1.2/lib/libgflags.2.1.2.dylib libgflags.2.1.2.dylib
ln -s ../Cellar/gflags/2.1.2/lib/libgflags.2.dylib libgflags.2.dylib
ln -s ../Cellar/gflags/2.1.2/lib/libgflags.dylib libgflags.dylib
ln -s ../Cellar/gflags/2.1.2/lib/libgflags_nothreads.2.1.2.dylib libgflags_nothreads.2.1.2.dylib
ln -s ../Cellar/gflags/2.1.2/lib/libgflags_nothreads.2.dylib libgflags_nothreads.2.dylib
ln -s ../Cellar/gflags/2.1.2/lib/libgflags_nothreads.dylib libgflags_nothreads.dylib
Changing dylib ID of /usr/local/Cellar/gflags/2.1.2/lib/libgflags.2.1.2.dylib
  from /usr/local/opt/gflags/lib/libgflags.2.dylib
    to /usr/local/opt/gflags/lib/libgflags.2.dylib
Changing dylib ID of /usr/local/Cellar/gflags/2.1.2/lib/libgflags_nothreads.2.1.2.dylib
  from /usr/local/opt/gflags/lib/libgflags_nothreads.2.dylib
    to /usr/local/opt/gflags/lib/libgflags_nothreads.2.dylib
==> Summary
🍺  /usr/local/Cellar/gflags/2.1.2: 20 files, 296.2K
==> Downloading https://homebrew.bintray.com/bottles/glog-0.3.4.sierra.bottle.tar.gz
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.4-2-g03e568e (Macintosh; Intel macOS 10.12) curl/7.49.1 https://homebrew.bintray.com/bottles/glog-0.3.4.sierra.bottle.tar.gz -C 0 -o /Users/USERNAME/Library/Caches/Homebrew/glog-0.3.4.sierra.bottle.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  139k  100  139k    0     0  88610      0  0:00:01  0:00:01 --:--:-- 89009
==> Verifying glog-0.3.4.sierra.bottle.tar.gz checksum
==> Pouring glog-0.3.4.sierra.bottle.tar.gz
tar xvzf /Users/USERNAME/Library/Caches/Homebrew/glog-0.3.4.sierra.bottle.tar.gz
x glog/0.3.4/
x glog/0.3.4/AUTHORS
x glog/0.3.4/ChangeLog
x glog/0.3.4/COPYING
x glog/0.3.4/include/
x glog/0.3.4/INSTALL_RECEIPT.json
x glog/0.3.4/lib/
x glog/0.3.4/NEWS
x glog/0.3.4/README
x glog/0.3.4/share/
x glog/0.3.4/share/doc/
x glog/0.3.4/share/doc/glog-0.3.4/
x glog/0.3.4/share/doc/glog-0.3.4/AUTHORS
x glog/0.3.4/share/doc/glog-0.3.4/ChangeLog
x glog/0.3.4/share/doc/glog-0.3.4/COPYING
x glog/0.3.4/share/doc/glog-0.3.4/designstyle.css
x glog/0.3.4/share/doc/glog-0.3.4/glog.html
x glog/0.3.4/share/doc/glog-0.3.4/INSTALL
x glog/0.3.4/share/doc/glog-0.3.4/NEWS
x glog/0.3.4/share/doc/glog-0.3.4/README
x glog/0.3.4/share/doc/glog-0.3.4/README.windows
x glog/0.3.4/lib/libglog.0.dylib
x glog/0.3.4/lib/libglog.a
x glog/0.3.4/lib/libglog.dylib
x glog/0.3.4/lib/pkgconfig/
x glog/0.3.4/lib/pkgconfig/libglog.pc
x glog/0.3.4/include/glog/
x glog/0.3.4/include/glog/log_severity.h
x glog/0.3.4/include/glog/logging.h
x glog/0.3.4/include/glog/raw_logging.h
x glog/0.3.4/include/glog/stl_logging.h
x glog/0.3.4/include/glog/vlog_is_on.h
Changing dylib ID of /usr/local/Cellar/glog/0.3.4/lib/libglog.0.dylib
  from @@HOMEBREW_PREFIX@@/opt/glog/lib/libglog.0.dylib
    to /usr/local/opt/glog/lib/libglog.0.dylib
Changing install name in /usr/local/Cellar/glog/0.3.4/lib/libglog.0.dylib
  from @@HOMEBREW_PREFIX@@/opt/gflags/lib/libgflags.2.dylib
    to /usr/local/opt/gflags/lib/libgflags.2.dylib
==> Finishing up
ln -s ../Cellar/glog/0.3.4/include/glog glog
ln -s ../../Cellar/glog/0.3.4/share/doc/glog-0.3.4 glog-0.3.4
ln -s ../Cellar/glog/0.3.4/lib/libglog.0.dylib libglog.0.dylib
ln -s ../Cellar/glog/0.3.4/lib/libglog.a libglog.a
ln -s ../Cellar/glog/0.3.4/lib/libglog.dylib libglog.dylib
ln -s ../../Cellar/glog/0.3.4/lib/pkgconfig/libglog.pc libglog.pc
Changing dylib ID of /usr/local/Cellar/glog/0.3.4/lib/libglog.0.dylib
  from /usr/local/opt/glog/lib/libglog.0.dylib
    to /usr/local/opt/glog/lib/libglog.0.dylib
==> Summary
🍺  /usr/local/Cellar/glog/0.3.4: 24 files, 426.1K
==> Downloading https://homebrew.bintray.com/bottles/szip-2.1.sierra.bottle.1.tar.gz
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.4-2-g03e568e (Macintosh; Intel macOS 10.12) curl/7.49.1 https://homebrew.bintray.com/bottles/szip-2.1.sierra.bottle.1.tar.gz -C 0 -o /Users/USERNAME/Library/Caches/Homebrew/szip-2.1.sierra.bottle.1.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 44455  100 44455    0     0  22397      0  0:00:01  0:00:01 --:--:-- 22463
==> Verifying szip-2.1.sierra.bottle.1.tar.gz checksum
==> Pouring szip-2.1.sierra.bottle.1.tar.gz
tar xvzf /Users/USERNAME/Library/Caches/Homebrew/szip-2.1.sierra.bottle.1.tar.gz
x szip/2.1/
x szip/2.1/COPYING
x szip/2.1/HISTORY.txt
x szip/2.1/include/
x szip/2.1/INSTALL_RECEIPT.json
x szip/2.1/lib/
x szip/2.1/README
x szip/2.1/lib/libsz.2.0.0.dylib
x szip/2.1/lib/libsz.2.dylib
x szip/2.1/lib/libsz.a
x szip/2.1/lib/libsz.dylib
x szip/2.1/include/ricehdf.h
x szip/2.1/include/szip_adpt.h
x szip/2.1/include/szlib.h
Changing dylib ID of /usr/local/Cellar/szip/2.1/lib/libsz.2.0.0.dylib
  from @@HOMEBREW_PREFIX@@/opt/szip/lib/libsz.2.dylib
    to /usr/local/opt/szip/lib/libsz.2.dylib
==> Finishing up
ln -s ../Cellar/szip/2.1/include/ricehdf.h ricehdf.h
ln -s ../Cellar/szip/2.1/include/szip_adpt.h szip_adpt.h
ln -s ../Cellar/szip/2.1/include/szlib.h szlib.h
ln -s ../Cellar/szip/2.1/lib/libsz.2.0.0.dylib libsz.2.0.0.dylib
ln -s ../Cellar/szip/2.1/lib/libsz.2.dylib libsz.2.dylib
ln -s ../Cellar/szip/2.1/lib/libsz.a libsz.a
ln -s ../Cellar/szip/2.1/lib/libsz.dylib libsz.dylib
Changing dylib ID of /usr/local/Cellar/szip/2.1/lib/libsz.2.0.0.dylib
  from /usr/local/opt/szip/lib/libsz.2.dylib
    to /usr/local/opt/szip/lib/libsz.2.dylib
==> Summary
🍺  /usr/local/Cellar/szip/2.1: 11 files, 107.5K
==> Downloading https://homebrew.bintray.com/bottles/lmdb-0.9.18.sierra.bottle.tar.gz
/usr/bin/curl --fail --remote-time --location --user-agent Homebrew/1.0.4-2-g03e568e (Macintosh; Intel macOS 10.12) curl/7.49.1 https://homebrew.bintray.com/bottles/lmdb-0.9.18.sierra.bottle.tar.gz -C 0 -o /Users/USERNAME/Library/Caches/Homebrew/lmdb-0.9.18.sierra.bottle.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  259k  100  259k    0     0   103k      0  0:00:02  0:00:02 --:--:--  469k
==> Verifying lmdb-0.9.18.sierra.bottle.tar.gz checksum
==> Pouring lmdb-0.9.18.sierra.bottle.tar.gz
tar xvzf /Users/USERNAME/Library/Caches/Homebrew/lmdb-0.9.18.sierra.bottle.tar.gz
x lmdb/0.9.18/
x lmdb/0.9.18/bin/
x lmdb/0.9.18/include/
x lmdb/0.9.18/INSTALL_RECEIPT.json
x lmdb/0.9.18/lib/
x lmdb/0.9.18/share/
x lmdb/0.9.18/share/man/
x lmdb/0.9.18/share/man/man1/
x lmdb/0.9.18/share/man/man1/mdb_copy.1
x lmdb/0.9.18/share/man/man1/mdb_dump.1
x lmdb/0.9.18/share/man/man1/mdb_load.1
x lmdb/0.9.18/share/man/man1/mdb_stat.1
x lmdb/0.9.18/lib/liblmdb.a
x lmdb/0.9.18/lib/liblmdb.dylib
x lmdb/0.9.18/include/lmdb.h
x lmdb/0.9.18/bin/mdb_copy
x lmdb/0.9.18/bin/mdb_dump
x lmdb/0.9.18/bin/mdb_load
x lmdb/0.9.18/bin/mdb_stat
Changing dylib ID of /usr/local/Cellar/lmdb/0.9.18/lib/liblmdb.dylib
  from @@HOMEBREW_PREFIX@@/opt/lmdb/lib/liblmdb.dylib
    to /usr/local/opt/lmdb/lib/liblmdb.dylib
==> Finishing up
ln -s ../Cellar/lmdb/0.9.18/bin/mdb_copy mdb_copy
ln -s ../Cellar/lmdb/0.9.18/bin/mdb_dump mdb_dump
ln -s ../Cellar/lmdb/0.9.18/bin/mdb_load mdb_load
ln -s ../Cellar/lmdb/0.9.18/bin/mdb_stat mdb_stat
ln -s ../Cellar/lmdb/0.9.18/include/lmdb.h lmdb.h
ln -s ../../../Cellar/lmdb/0.9.18/share/man/man1/mdb_copy.1 mdb_copy.1
ln -s ../../../Cellar/lmdb/0.9.18/share/man/man1/mdb_dump.1 mdb_dump.1
ln -s ../../../Cellar/lmdb/0.9.18/share/man/man1/mdb_load.1 mdb_load.1
ln -s ../../../Cellar/lmdb/0.9.18/share/man/man1/mdb_stat.1 mdb_stat.1
ln -s ../Cellar/lmdb/0.9.18/lib/liblmdb.a liblmdb.a
ln -s ../Cellar/lmdb/0.9.18/lib/liblmdb.dylib liblmdb.dylib
Changing dylib ID of /usr/local/Cellar/lmdb/0.9.18/lib/liblmdb.dylib
  from /usr/local/opt/lmdb/lib/liblmdb.dylib
    to /usr/local/opt/lmdb/lib/liblmdb.dylib
==> Summary
🍺  /usr/local/Cellar/lmdb/0.9.18: 12 files, 537.8K


Command (Tapping homebrew/science):

$ brew tap homebrew/science


Result:

==> Tapping homebrew/science
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science'...
remote: Counting objects: 638, done.
remote: Compressing objects: 100% (634/634), done.
remote: Total 638 (delta 1), reused 67 (delta 0), pack-reused 0
Receiving objects: 100% (638/638), 556.61 KiB | 365.00 KiB/s, done.
Resolving deltas: 100% (1/1), done.
Tapped 622 formulae (657 files, 1.7M)


Command (Confirm):

$ brew tap


Result:

==> Auto-updated Homebrew!
Updated Homebrew from 03e568e to 6e57355.
Updated 1 tap (homebrew/core).
==> Updated Formulae
abcm2ps                   cake                      git-imerge                libyaml                   plowshare                 tor                  
agedu                     discount                  haskell-stack             mas                       pod2man              
==> Deleted Formulae
aget                                                                           sgfutils                                                                  

homebrew/core
homebrew/python
homebrew/science


Command (installing hdf5 and opencv):

$ brew install hdf5 opencv


Result:

==> Installing hdf5 from homebrew/science
==> Installing dependencies for homebrew/science/hdf5: autoconf, automake, libtool
==> Installing homebrew/science/hdf5 dependency: autoconf
==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.69.sierra.bottle.4.tar.gz
######################################################################## 100.0%
==> Pouring autoconf-2.69.sierra.bottle.4.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/autoconf
==> Summary
🍺  /usr/local/Cellar/autoconf/2.69: 70 files, 3.0M
==> Installing homebrew/science/hdf5 dependency: automake
==> Downloading https://homebrew.bintray.com/bottles/automake-1.15.sierra.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring automake-1.15.sierra.bottle.2.tar.gz
🍺  /usr/local/Cellar/automake/1.15: 130 files, 2.9M
==> Installing homebrew/science/hdf5 dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6_1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtool-2.4.6_1.sierra.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺  /usr/local/Cellar/libtool/2.4.6_1: 70 files, 3.7M
==> Installing homebrew/science/hdf5
==> Downloading https://support.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.17.tar.bz2
######################################################################## 100.0%
==> autoreconf -fiv
==> ./configure --prefix=/usr/local/Cellar/hdf5/1.8.17 --enable-production --enable-debug=no --with-zlib=/usr --with-szlib=/usr/local/opt/szip --enable-stat
==> make
==> make install
🍺  /usr/local/Cellar/hdf5/1.8.17: 180 files, 10.6M, built in 3 minutes 37 seconds
==> Installing opencv from homebrew/science
==> Installing dependencies for homebrew/science/opencv: cmake, eigen, ilmbase, openexr, pkg-config
==> Installing homebrew/science/opencv dependency: cmake
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.6.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-3.6.2.sierra.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.6.2: 2,028 files, 27.8M
==> Installing homebrew/science/opencv dependency: eigen
==> Downloading https://homebrew.bintray.com/bottles/eigen-3.2.9.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring eigen-3.2.9.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/eigen/3.2.9: 368 files, 3.5M
==> Installing homebrew/science/opencv dependency: ilmbase
==> Downloading https://homebrew.bintray.com/bottles/ilmbase-2.2.0.sierra.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring ilmbase-2.2.0.sierra.bottle.2.tar.gz
🍺  /usr/local/Cellar/ilmbase/2.2.0: 362 files, 5.6M
==> Installing homebrew/science/opencv dependency: openexr
==> Downloading https://homebrew.bintray.com/bottles/openexr-2.2.0.sierra.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring openexr-2.2.0.sierra.bottle.1.tar.gz
🍺  /usr/local/Cellar/openexr/2.2.0: 131 files, 11.2M
==> Installing homebrew/science/opencv dependency: pkg-config
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.1_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pkg-config-0.29.1_2.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/pkg-config/0.29.1_2: 10 files, 627.4K
==> Installing homebrew/science/opencv
==> Downloading https://github.com/opencv/opencv/archive/2.4.13.tar.gz
==> Downloading from https://codeload.github.com/opencv/opencv/tar.gz/2.4.13
######################################################################## 100.0%
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.13_3 -DCMAKE_BUILD_TYPE
==> make
Last 15 lines from /Users/USERNAME/Library/Logs/Homebrew/opencv/02.make:
[ 15%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/optflowgf.cpp.o
cd /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -DCVAPI_EXPORTS -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/perf -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/calib3d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/features2d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/highgui/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/imgproc/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/flann/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/core/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/ts/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/test -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild -isystem /usr/local/include/eigen3  -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -Wno-long-long -Wno-semicolon-before-method-body -fno-omit-frame-pointer -msse -msse2 -mavx -DNDEBUG  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fPIC   -o CMakeFiles/opencv_video.dir/src/optflowgf.cpp.o -c /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src/optflowgf.cpp
[ 16%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/simpleflow.cpp.o
cd /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -DCVAPI_EXPORTS -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/perf -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/calib3d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/features2d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/highgui/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/imgproc/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/flann/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/core/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/ts/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/test -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild -isystem /usr/local/include/eigen3  -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -Wno-long-long -Wno-semicolon-before-method-body -fno-omit-frame-pointer -msse -msse2 -mavx -DNDEBUG  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fPIC   -o CMakeFiles/opencv_video.dir/src/simpleflow.cpp.o -c /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src/simpleflow.cpp
[ 16%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/tvl1flow.cpp.o
cd /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -DCVAPI_EXPORTS -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/perf -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/calib3d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/features2d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/highgui/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/imgproc/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/flann/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/core/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/ts/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/test -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild -isystem /usr/local/include/eigen3  -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -Wno-long-long -Wno-semicolon-before-method-body -fno-omit-frame-pointer -msse -msse2 -mavx -DNDEBUG  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fPIC   -o CMakeFiles/opencv_video.dir/src/tvl1flow.cpp.o -c /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src/tvl1flow.cpp
[ 16%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/video_init.cpp.o
cd /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -DCVAPI_EXPORTS -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/perf -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/calib3d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/features2d/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/highgui/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/imgproc/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/flann/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/core/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/ts/include -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/test -I/tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild -isystem /usr/local/include/eigen3  -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -Wno-long-long -Wno-semicolon-before-method-body -fno-omit-frame-pointer -msse -msse2 -mavx -DNDEBUG  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fPIC   -o CMakeFiles/opencv_video.dir/src/video_init.cpp.o -c /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/modules/video/src/video_init.cpp
[ 16%] Linking CXX shared library ../../lib/libopencv_video.dylib
cd /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/opencv_video.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++     -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -Wno-long-long -Wno-semicolon-before-method-body -fno-omit-frame-pointer -msse -msse2 -mavx -DNDEBUG  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 2.4.0 -current_version 2.4.13 -o ../../lib/libopencv_video.2.4.13.dylib -install_name /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/lib/libopencv_video.2.4.dylib CMakeFiles/opencv_video.dir/src/bgfg_gaussmix.cpp.o CMakeFiles/opencv_video.dir/src/bgfg_gaussmix2.cpp.o CMakeFiles/opencv_video.dir/src/bgfg_gmg.cpp.o CMakeFiles/opencv_video.dir/src/camshift.cpp.o CMakeFiles/opencv_video.dir/src/kalman.cpp.o CMakeFiles/opencv_video.dir/src/lkpyramid.cpp.o CMakeFiles/opencv_video.dir/src/motempl.cpp.o CMakeFiles/opencv_video.dir/src/optflowgf.cpp.o CMakeFiles/opencv_video.dir/src/simpleflow.cpp.o CMakeFiles/opencv_video.dir/src/tvl1flow.cpp.o CMakeFiles/opencv_video.dir/src/video_init.cpp.o ../../lib/libopencv_imgproc.2.4.13.dylib ../../lib/libopencv_core.2.4.13.dylib
cd /tmp/opencv-20160925-39329-tnphw6/opencv-2.4.13/macbuild/modules/video && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_symlink_library ../../lib/libopencv_video.2.4.13.dylib ../../lib/libopencv_video.2.4.dylib ../../lib/libopencv_video.dylib
[ 16%] Built target opencv_video
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2

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

These open issues may also help:
opencv: fix stable on sierra and with xcode 8 sdk https://github.com/Homebrew/homebrew-science/pull/4336
opencv: fix build with vtk https://github.com/Homebrew/homebrew-science/pull/3750
OpenCV install fails on MacOS Sierra (10.12) at 16% https://github.com/Homebrew/homebrew-science/issues/4303
opencv: java.lang.UnsatisfiedLinkError https://github.com/Homebrew/homebrew-science/issues/1979
opencv modify libstdc++ to libc++ https://github.com/Homebrew/homebrew-science/pull/2714
brew install opencv --with-ffmpeg fails https://github.com/Homebrew/homebrew-science/issues/2862
OpenCV 3 macOS 10.12 Sierra QTKit not found build issue https://github.com/Homebrew/homebrew-science/issues/4104
Cannot build OpenCV with Java https://github.com/Homebrew/homebrew-science/issues/2499
Brew install opencv fails at 99%  https://github.com/Homebrew/homebrew-science/issues/2905
OpenCV 3.1.0 Java Link Problem https://github.com/Homebrew/homebrew-science/issues/3268
OpenCV and OpenCV3 fail to build with ximea camera support https://github.com/Homebrew/homebrew-science/issues/3395
opencv fail to build with ffmpeg or vtk https://github.com/Homebrew/homebrew-science/issues/3371
opencv failed to build against QuickTime on 10.11 https://github.com/Homebrew/homebrew-science/issues/3322
Installing OpenCV attempts to reinstall gcc 5.2 https://github.com/Homebrew/homebrew-science/issues/2938