Skip to content

Instantly share code, notes, and snippets.

@olgabot
Created November 15, 2013 01:16
Show Gist options
  • Save olgabot/7477559 to your computer and use it in GitHub Desktop.
Save olgabot/7477559 to your computer and use it in GitHub Desktop.
reinstalling matplotlib dependencies
llscrm-bio-228-232-2:~ olga$ brew reinstall freetype
==> Reinstalling freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.0.1.mavericks.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/freetype-2.5.0.1.mavericks.bottle.1.tar.gz
==> Pouring freetype-2.5.0.1.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/freetype/2.5.0.1: 59 files, 2.6M
scrm-bio-228-232-2:~ olga$ brew reinstall gfortran
==> Reinstalling gfortran
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gfortran-4.8.2.tar.bz2
==> ../configure --prefix=/usr/local/Cellar/gfortran/4.8.2/gfortran --datarootdir=/usr/local/Cellar/gfortran/4.8.2/share --bindir=/usr/local/Cellar/gfortran/4.8.2/bin --enable-la
==> make bootstrap
==> make
==> make install
==> Caveats
Brews that require a Fortran compiler should use:
depends_on :fortran
==> Summary
๐Ÿบ /usr/local/Cellar/gfortran/4.8.2: 960 files, 113M, built in 15.8 minutes
scrm-bio-228-232-2:~ olga$ brew deps matplotlib
freetype
gfortran
homebrew/science/suite-sparse
libpng
numpy
tbb
scrm-bio-228-232-2:~ olga$ brew reinstall homebrew/science/suite-sparse
==> Reinstalling homebrew/science/suite-sparse
Error: /usr/local/Library/Taps/homebrew-science/suite-sparse.rb is not a valid keg
Error: Reinstall failed.
scrm-bio-228-232-2:~ olga$ brew reinstall suite-sparse
==> Reinstalling suite-sparse
==> Downloading http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.2.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/suite-sparse-4.2.1.tar.gz
==> mv SuiteSparse_config/SuiteSparse_config.mk SuiteSparse_config/SuiteSparse_config_orig.mk
==> mv SuiteSparse_config/SuiteSparse_config_Mac.mk SuiteSparse_config/SuiteSparse_config.mk
==> make library
==> make install
๐Ÿบ /usr/local/Cellar/suite-sparse/4.2.1: 76 files, 3.6M, built in 91 seconds
scrm-bio-228-232-2:~ olga$ brew reinstall libpng
==> Reinstalling libpng
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.5.14.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.5.14.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/libpng/1.5.14: 15 files, 1.0M
scrm-bio-228-232-2:~ olga$ brew reinstall numpy
==> Reinstalling numpy
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://downloads.sourceforge.net/project/numpy/NumPy/1.8.0/numpy-1.8.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/numpy-1.8.0.tar.gz
==> /usr/local/opt/python/bin/python2 setup.py build --fcompiler=gnu95 install --prefix=/usr/local/Cellar/numpy/1.8.0
==> Caveats
Numpy ignores the `FC` env var and looks for gfortran during build.
==> Summary
๐Ÿบ /usr/local/Cellar/numpy/1.8.0: 717 files, 14M, built in 53 seconds
scrm-bio-228-232-2:~ olga$ brew reinstall tbb
==> Reinstalling tbb
==> Downloading https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb42_20130725oss_src.tgz
Already downloaded: /Library/Caches/Homebrew/tbb-4.2.tgz
==> Patching
patching file build/version_info_macos.sh
==> make tbb_build_prefix=BUILDPREFIX compiler=clang arch=intel64
๐Ÿบ /usr/local/Cellar/tbb/4.2: 99 files, 1.6M, built in 6 seconds
scrm-bio-228-232-2:~ olga$ brew install matplotlib
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1/matplotlib-1.3.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/matplotlib-1.3.1.tar.gz
==> /usr/local/opt/python/bin/python2 setup.py install --prefix=/usr/local/Cellar/matplotlib/1.3.1 --record=installed.txt --single-version-externally-managed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment