安装OS X Lion后./configure找不到C编译器 [英] ./configure can't find C compiler after OS X Lion installation

查看:115
本文介绍了安装OS X Lion后./configure找不到C编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ccgcc完全位于正确的路径中(在OS X Lion中为/Developer/usr/bin),运行./configure会尝试通过硬编码(我想)路径-/usr/bin对其进行编译./p>

我在哪里设置配置路径?

解决方案

正确的答案是从App Store(免费)安装Xcode 4,然后运行/Applications/Install Xcode.app.然后,您需要的所有内容都将在/usr/中.

While cc and gcc are perfectly in their right path (/Developer/usr/bin in OS X Lion), running ./configure tries to compile it through a hard coded (I guess) path - /usr/bin.

Where do I setup configure's paths?

解决方案

The right answer is to install Xcode 4 from the App Store (free) and then run /Applications/Install Xcode.app. Then everything you need will be in /usr/.

这篇关于安装OS X Lion后./configure找不到C编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆