Mac OS Sierra: checking whether the C compiler works… no

后端 未结 1 1192
心在旅途
心在旅途 2021-02-15 16:05

I want to compile a C library on my MacOS Sierra system, but I am getting the following error:

checking for a BSD-compatible install... /usr/local/bin/ginstall -         


        
1条回答
  •  暖寄归人
    2021-02-15 16:44

    Start Xcode, select 'Preferences', then 'Locations'. You'll notice a dropdown control at 'Command Line Tools'. Select the newest version, close the dialog window, then call brew again. Restart your computer and run it again.

    0 讨论(0)
提交回复
热议问题