3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacOS Maverickでbundle installする際にfails to build native extensionsエラーが出る?

Posted at

MacOS Maverickでbundle installする際に"fails to build native extensions"エラーが出る時、以下の方法で試してください。

command line developer toolsをインストールする

❏ まだXCodeがなかったら、Xcodeをインストール
❏ command line developer toolsを

Terminal
xcode-select --install

のコマンドでインストールできます。
後は

Terminal
sudo xcode-select -switch /Library/Developer/CommandLineTools

を実行してください。

###gccの調整
以下のコマンドを実行してください

Terminal
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
Terminal
export CC=gcc-4.2

(gccのバージョンは場合によって違います。それはエラーログを見たら分かります)

まだまだ情報が足りないと思いますので、後ほど追加します。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?