首页 > 系统服务 > 详细

MAC下 brew link qt 出现的一些问题

时间:2016-10-03 14:57:49      阅读:342      评论:0      收藏:0      [点我收藏+]

1.安装Ghost.py出现问题:在安装pyside前提下安装

2.brew安装pyside

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink lib/pkgconfig/QtCLucene.pc
/usr/local/lib/pkgconfig is not writable.

按照提示:

You can try again using:
  brew link qt

再次操作:

brew link qt
Linking /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 isnt writable.

This can happen if you "sudo make install" software that isnt managed
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.

You should probably change the ownership and permissions of /usr/local/lib/pkgconfig
back to your user account.
  sudo chown -R $(whoami) /usr/local/lib/pkgconfig

 

MAC下 brew link qt 出现的一些问题

原文:http://www.cnblogs.com/o-din/p/5929037.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!