./configure can't find C compiler after OS X Lion installation

前端 未结 6 2185
终归单人心
终归单人心 2021-02-05 19:12

While cc and gcc are perfectly in their right path (/Developer/usr/bin in OS X Lion), running ./configure tries to compile it

6条回答
  •  花落未央
    2021-02-05 19:24

    The best thing to do is actually to download and install the new Command Line Developer Tools package from Apple, which gives you your tools in /usr/bin along with libraries in the proper place and documentation (e.g. manpages). Either go find it on developer.apple.com or check here for details and a link.

提交回复
热议问题