Skip to content

Instantly share code, notes, and snippets.

@lgrains
Created June 29, 2015 20:19
Show Gist options
  • Save lgrains/e6c660bed68dfe1862a2 to your computer and use it in GitHub Desktop.
Save lgrains/e6c660bed68dfe1862a2 to your computer and use it in GitHub Desktop.
problems installing librsvg
brew install librsvg
==> Installing dependencies for librsvg: fontconfig, pixman, cairo, libcroco, icu4c, harfbuzz, pango
==> Installing librsvg dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.11.1.yosemite.bottle.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/fontconfig-2.11.1.yosemite.bottle.3.tar.gz
==> Pouring fontconfig-2.11.1.yosemite.bottle.3.tar.gz
Error: Permission denied - /usr/local/var/cache
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 -
==> make install RUN_FC_CACHE_TEST=false
mkdir: /usr/local/var/cache: Permission denied
mkdir: /usr/local/var/cache: No such file or directory
make[2]: *** [install-data-local] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
READ THIS: https://git.io/brew-troubleshooting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment