OS X Mountain Lion: gcc-4.2 No such file or directory

后端 未结 4 1034
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-08 04:34

Tried to install a gem on Mountain Lion and make couldn\'t find gcc-4.2:

kamil$ gem install posix-spawn -v \'0.3.6\'
Building native extensions.  This could          


        
4条回答
  •  囚心锁ツ
    2020-12-08 05:19

    Install simply apple-gcc42 with brew. It generate gcc-4.2 .

    brew install apple-gcc42
    

    So we do not need symlinks, which apple update may remove.

    Homebrew

提交回复
热议问题