通过 MacPorts 安装 cmake 时出错
在我的机器上安装 cmake 时出现此错误。
错误:目标 org.macports.configure 返回:配置失败: shell 命令失败(详细信息请参阅日志)错误:安装失败 cmake cmake 日志位于: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
完整日志位于此处,但我基本上看到的是编译错误。
我的机器上没有任何特殊设置。 Lion 10.7.3、Xcode 4.2.1安装在默认目录中。
我尝试使用多个选项(+通用)安装它,我还在重新绑定之前完全卸载了MacPorts。总是有同样的问题。
有什么想法或指示吗?
I get this error while installing cmake on my machine.
Error: Target org.macports.configure returned: configure failure:
shell command failed (see log for details) Error: Failed to install
cmake Log for cmake is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
The full log is here, but what I basically see is compilation errors.
I don't have any particular setup on my machine. Lion 10.7.3, Xcode 4.2.1 installed in the default directory.
I've tried to install it with multiple options (+universal), I also uninstalled MacPorts completely before retying. Always with the same issue.
Any ideas or pointers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
第一个也是最严重的错误是:
您的安装似乎不完整,因为该标头应该位于
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CoreFoundation.h< /code> 或在相应平台的SDK中。
尝试从 App Store 或 developer.apple.com 重新安装 Xcode。
The first and most serious error is this here:
It seems like your installation is incomplete as this header is supposed to be found at
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CoreFoundation.h
or in the corresponding platform SDK.Try reinstalling Xcode from the App Store or developer.apple.com.