LoginSignup
3
3

More than 5 years have passed since last update.

El Capitanでport install gnuplotがコケる場合

Last updated at Posted at 2016-01-14

事案

$ sudo port install gnuplot

が失敗する。

環境

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.11.2
BuildVersion:   15C50
$ uname -rs
Darwin 15.2.0
$ port version
Version: 2.3.4

調査

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log

を見ると

:info:build Exception: Unable to lookup com.apple.CoreSimulator.CoreSimulatorService in the bootstrap.

とのこと。このエラーメッセージでググる。

解決

Build failures after upgrading to Xcode 7.2によると以下のコマンドをたたくがよろしとのこと。

$ sudo chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
$ sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc

うまくいった!

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3