首页 > 代码库 > MAC下 brew link qt 出现的一些问题
MAC下 brew link qt 出现的一些问题
1.安装Ghost.py出现问题:在安装pyside前提下安装
2.brew安装pyside
Error: The `brew link` step did not complete successfullyThe formula built, but is not symlinked into /usr/localCould not symlink lib/pkgconfig/QtCLucene.pc/usr/local/lib/pkgconfig is not writable.
按照提示:
You can try again using: brew link qt
再次操作:
brew link qtLinking /usr/local/Cellar/qt/4.8.7_2... Error: Could not symlink lib/pkgconfig/QtCLucene.pc/usr/local/lib/pkgconfig is not writable.
出现以上错误,我们使用brew doctor查看问题详情,以及建议操作:
Warning: /usr/local/lib/pkgconfig isn‘t writable.This can happen if you "sudo make install" software that isn‘t managedby Homebrew. If a formula tries to write a file to this directory, theinstall will fail during the link step.You should probably change the ownership and permissions of /usr/local/lib/pkgconfigback to your user account. sudo chown -R $(whoami) /usr/local/lib/pkgconfig
MAC下 brew link qt 出现的一些问题
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。