Takuya71 のぶろぐ

外資系ソフトウェア会社で働いてます、認定スクラムマスター

OSX 10.11 に gnuplot をインストール

gnuplot をインストール

homebrew でインストール

参照

qiita.com

aquaterm をインストール

インストール時にエラーでた

~  brew install gnuplot --with-aquaterm
==> Installing dependencies for gnuplot: libpng, freetype, fontconfig, jp
==> Installing gnuplot dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.19.el_capitan.bo
######################################################################## 100.0%
==> Pouring libpng-1.6.19.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.19: 17 files, 1.2M
==> Installing gnuplot dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.6_1.el_capitan.b
######################################################################## 100.0%
==> Pouring freetype-2.6_1.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/freetype/2.6_1: 60 files, 2.6M
==> Installing gnuplot dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.11.1.el_capita
######################################################################## 100.0%
==> Pouring fontconfig-2.11.1.el_capitan.bottle.4.tar.gz
Error: Permission denied - /usr/local/var
Warning: Bottle installation failed: building from source.
==> Downloading http://fontconfig.org/release/fontconfig-2.11.1.tar.bz2
==> Downloading from http://www.freedesktop.org/software/fontconfig/release/font
######################################################################## 100.0%
==> Patching

brew doctor を実行

  ~  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: The /usr/local is not writable.

You should probably change the ownership and permissions of /usr/local
back to your user account.
  sudo chown -R $(whoami) /usr/local

Warning: The /usr/local directory is not writable.
Even if this directory was writable when you installed Homebrew, other
software may change permissions on this directory. Some versions of the
"InstantOn" component of Airfoil are known to do this.

You should probably change the ownership and permissions of /usr/local
back to your user account.
  sudo chown -R $(whoami):admin /usr/local

Warning: Broken symlinks were found. Remove them with `brew prune`:
    /usr/local/bin/N1
    /usr/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
    /usr/local/etc/fonts/conf.d/20-unhint-small-vera.conf
    /usr/local/etc/fonts/conf.d/30-metric-aliases.conf
    /usr/local/etc/fonts/conf.d/30-urw-aliases.conf
    /usr/local/etc/fonts/conf.d/40-nonlatin.conf
    /usr/local/etc/fonts/conf.d/45-latin.conf
    /usr/local/etc/fonts/conf.d/49-sansserif.conf
    /usr/local/etc/fonts/conf.d/50-user.conf
    /usr/local/etc/fonts/conf.d/51-local.conf
    /usr/local/etc/fonts/conf.d/60-latin.conf
    /usr/local/etc/fonts/conf.d/65-fonts-persian.conf
    /usr/local/etc/fonts/conf.d/65-nonlatin.conf
    /usr/local/etc/fonts/conf.d/69-unifont.conf
    /usr/local/etc/fonts/conf.d/80-delicious.conf
    /usr/local/etc/fonts/conf.d/90-synthetic.conf

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
    echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc

Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.