error: cannot open .git/FETCH_HEAD: Permission denied
Error: Failed to update tap: homebrew/science
Already up-to-date.
Warning: git-1.9.3 already installed, it's just not linked
Warning: readline-6.3.5 already installed
Warning: cmake-2.8.12.2 already installed
==> Installing wget dependency: openssl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1g.mavericks.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1g.mavericks.bottle.tar.gz
==> Pouring openssl-1.0.1g.mavericks.bottle.tar.gz
Error: Permission denied - /usr/local/etc/openssl
Warning: Bottle installation failed: building from source.
Error: /usr/local/opt/makedepend not present or broken
Please reinstall makedepend. Sorry :(
Warning: jpeg-8d already installed
Warning: imagemagick-6.8.9-1 already installed, it's just not linked
Warning: zeromq-4.0.4 already installed
Warning: Already linked: /usr/local/Cellar/readline/6.3.5
To relink: brew unlink readline && brew link readline
Error: No such keg: /usr/local/Cellar/gnuplot
==> Installing dependencies for gnuplot: fontconfig, libffi, glib, pixman, cairo, icu4c, harfbuzz, gobject-introspection, pango, pdflib-lite, gd, wxmac
==> Installing gnuplot dependency: fontconfig
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/fontconfig-2.11.1.mavericks.bottle.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/fontconfig-2.11.1.mavericks.bottle.2.tar.gz
==> Pouring fontconfig-2.11.1.mavericks.bottle.2.tar.gz
Error: Permission denied - /usr/local/etc/fonts
Warning: Bottle installation failed: building from source.
==> Downloading http://fontconfig.org/release/fontconfig-2.11.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/fontconfig-2.11.1.tar.bz2
==> Patching
patching file fc-cache/fc-cache.c
patching file fontconfig/fontconfig.h
patching file src/fccache.c
patching file src/fcdir.c
patching file src/fcfs.c
patching file src/fcint.h
patching file src/fcpat.c
==> ./configure --disable-silent-rules --with-add-fonts=/System/Library/Fonts,/Library/Fonts,~/Library/Fonts --prefix=/usr/local/Cellar/fontconfig/2.11.1 --localstatedir=/usr/loc
==> make install RUN_FC_CACHE_TEST=false
make[3]: *** [install-configDATA] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [install-am] Error 2
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1