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

前端 未结 6 2182
终归单人心
终归单人心 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:23

    I just ran into this... I "solved" it by just installing the XCode "Command Line Tools" package

    But for some reason it is not possible (for me at least) to reach the same preferences window when a project is open. I had to do the following

    • Close XCode (if running)
    • Start XCode (do not open a project yet)
    • Press Command+,
    • Go to Downloads
    • Click on install

提交回复
热议问题