Xcode - configure: error: no acceptable C compiler found in $PATH

后端 未结 4 2082
孤城傲影
孤城傲影 2021-01-30 19:35

rebuilding a mac from scratch. Installed xcode and rvm then trying to install rubies but they are all giving me:

Error running \' ./configure --prefix=/Users/du         


        
4条回答
  •  有刺的猬
    2021-01-30 20:37

    The critical step is actually installing the Xcode command line tools after the download completes and Xcode is installed

    After downloading and installing Xcode from the app store, you need to actually install the command line tools it provides.
    To do this open Xcode, go to preferences then downloads. There is an "Install" link to add the command line tools.

    Once this has been completed, make sure to re-open your terminal window.

提交回复
热议问题