问题描述
我在我的Mac Book pro更新Cmake与OS X Lion 10.7.5。旧版本的Cmake是2.8.8,新的版本是2.8.10。当我运行几乎到安装过程结束时,安装程序提示
创建到几个工具的/ usr / bin的符号链接。单击继续后,安装程序会引发异常,告知无法创建符号链接。以前的过程中,我已经移动到垃圾的旧版本的Cmake然后使用finder我没有更多的文件Cmake在机器上。
I am updating Cmake in my Mac Book pro with OS X Lion 10.7.5. The old version of Cmake is 2.8.8 and the new one is 2.8.10. When I run almost to the end of the installation process, the installer promptsfor creating a Symlink to /usr/bin of several tools. After click on continue, the installer throws an exception telling that couldn't create symlinks. Previously of the process, I've moved to trash the old version of Cmake and then using finder I got nothing more files of Cmake on the machine. Any idea how Can I complete the installation succesfully?
推荐答案
在我的情况下,尝试在OSX 10.8上安装cmake 2.8.12。 5失败。从cmake.org直接下载的cmake-2.8.12.2-Darwin-universal.dmg安装程序将在运行安装后脚本时挂起。我找到并删除了willyMon描述的所有符号链接,但它仍然会挂起,要求我使用ps + kill来卸载安装程序。
In my case, attempting to install cmake 2.8.12 on OSX 10.8.5 failed. The cmake-2.8.12.2-Darwin-universal.dmg installer downloaded directly from cmake.org would hang while running the post install scripts. I found and removed all the symlinks described by willyMon, but it still would hang, requiring me to resort to ps + kill to unhang the installer.
对我来说, brew做到了:
For me, installing via brew did the trick:
brew install cmake
它安装2.8.12.2在/ usr / local / bin没有搭便车。
It installed 2.8.12.2 in /usr/local/bin without a hitch.
这篇关于CMake 2.8.10安装mac os x失败创建符号链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!