cmake安装程序Mac无法创建/ usr / bin符号链接 [英] cmake installer for Mac fails to create /usr/bin symlinks

查看:918
本文介绍了cmake安装程序Mac无法创建/ usr / bin符号链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在OS X 10.9.3
上安装CMake cmake-2.8.12.2-Darwin64-universal.dmg我从应用程序文件夹中删除旧版本,删除usr / bin中的ccmake,cmake,cmake-gui等。
但是得到失败的创建符号链接安装可能不完整:/ usr / bin / cpack和其他错误消息。

Try to install CMake cmake-2.8.12.2-Darwin64-universal.dmg on OS X 10.9.3 I removed the old version from Application folder and delete ccmake, cmake, cmake-gui etc in usr/bin. But get "Failed create symlink installation may be incomplete: /usr/bin/cpack" and other error messages.

请让我知道任何建议或

感谢您对我的问题的宝贵时间。

Thank you for precious time on my question.

推荐答案

这个问题基本上是,从应用程序中删除CMake时,上一次安装的符号链接不会被清除,

The problem is basically that the symlinks from the previous installation are not cleaned up when removing CMake from Applications and now the installer has trouble updating them to the new version.

最简单的解决方法是从 / usr / bin 手动删除这些链接。 code>并重新运行安装程序。 IIRC它至少 cmake ccmake cmake-gui cpack ctest 。最好的方法是从控制台执行 ls -l / usr / bin ,并为所有指向的链接执行 grep 旧的CMake安装目录。

The easiest fix here is to manually remove those links from /usr/bin and re-run the installer. IIRC it's at least cmake, ccmake, cmake-gui, cpack and ctest that need removing. Best way is to do a ls -l /usr/bin from the console and grep for all the links pointing to the old CMake installation directory.

这篇关于cmake安装程序Mac无法创建/ usr / bin符号链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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