Mountain Lion rvm install 1.8.7 x11 error

后端 未结 5 859
醉梦人生
醉梦人生 2020-12-02 04:55

After update to Mountain Lion, I tried install 1.8.7, and I got error. X11 file not found, I installed Xquarkz, but nothing changed. Whats wrong?

Fail to fi         


        
5条回答
  •  猫巷女王i
    2020-12-02 05:26

    If you don't need tcl or tk and are using rbenv, this should work:

    brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb
    
    CC=/usr/local/bin/gcc-4.2 CONFIGURE_OPTS="--without-tcl --without-tk" rbenv install 1.8.7-p358
    

提交回复
热议问题