LoginSignup
7
7

More than 5 years have passed since last update.

Mac OS X LionからMavericksにアップデートしたときのメモ

Last updated at Posted at 2013-10-26

Mavericksにアップデート

なにも考えずにMavericksをダウンロード、インストール。

Xcode

Xcodeがもともと古かったので最新(5.0.1)のをインストールした。

そのあとberkshelfというgemをインストールしようとすると

You have to install development tools first.

と言われた。

これはXcodeをアップデートしたのが原因だった。

原因を調べるために ~/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/nio4r-0.5.0/ext/nio4r/mkmf.log を見た。

sh: gcc-4.2: command not found

gcc-4.2がなかった。アップデートしたXcodeではgcc-4.2からgccに改名されているのが原因。シンボリックリンクを貼ることで解決する。

$ sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

参考 http://qiita.com/mah_lab/items/e3493a99af31d61c81be
参考 http://stackoverflow.com/questions/10344821/gem-install-pg-doesnt-work-on-osx-lion

Vagrant

  1. Vagrant upしたらエラーが出ることを確認
  2. VirtualBoxの最新4.2.18をインストール
  3. Vagrant upしたら問題なく起動した

そのあと、Vagrantのバージョンが1.0と古かったので1.3.5にしたところ、

Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface
VBoxManage: error: Context: "int handleCreate(HandlerArg*, int, int*)" at line 68 of file VBoxManageHostonly.cpp

などというエラーが発生。

しらべたところこの記事がヒット。 http://firegoby.jp/archives/5182

VirtualBoxをアンインストールして再インストール。

直った。

ShiftIt

ShiftItを使おうとしたら Please check the option for “Enable access for assistive devices” と言われた。

http://www.tekrevue.com/2013/06/25/how-to-enable-access-for-assistive-devices-in-os-x-mavericks/ の指示通りに、システム環境設定>セキュリティとプライバシー>プライバシー>アクセシビリティでShiftIt.appを見つける。コンピュータの制御を許可しようとしたら、X11がないので入れろ、との指示をもらう。 http://support.apple.com/kb/HT5293

言われるがままXQuartzをインストール。

ShifItが動くようになった。

Tmux

tmuxを起動したら

warning: unsupported new OS, trying as if it were 10.6-10.7

なる表示。

$ brew info tmux

で新しいバージョンがあることを知る。

$ brew upgrade tmux

で新しいバージョンを入手。
でも

warning: unsupported new OS, trying as if it were 10.6-10.7

の表示は変わらなかった。

7
7
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
7
7