权限被拒绝 - /Users/<user>/Library/Logs/Homebrew/flann 使用 brew 时
Permission denied - /Users/<user>/Library/Logs/Homebrew/flann when using brew
我想通过 brew
在 OSX 上安装 pcl。
$ brew install pcl
==> Installing pcl from homebrew/science
==> Installing dependencies for homebrew/science/pcl: flann, cminpack, qh
==> Installing homebrew/science/pcl dependency: flann
==> Downloading http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-1.8.4-src.z
Already downloaded: /Library/Caches/Homebrew/flann-1.8.4.zip
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
Error: Permission denied - /Users/xxh/Library/Logs/Homebrew/flann
推荐cmake
即可。
我试过了sudo brew install pcl
。不行。
如何解决?
您尝试修复权限了吗?
$ chmod -R 755 ~/Library/Logs/Homebrew
应该可以解决这个问题,您可以重试安装...
我想通过 brew
在 OSX 上安装 pcl。
$ brew install pcl
==> Installing pcl from homebrew/science
==> Installing dependencies for homebrew/science/pcl: flann, cminpack, qh
==> Installing homebrew/science/pcl dependency: flann
==> Downloading http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-1.8.4-src.z
Already downloaded: /Library/Caches/Homebrew/flann-1.8.4.zip
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
Error: Permission denied - /Users/xxh/Library/Logs/Homebrew/flann
推荐cmake
即可。
我试过了sudo brew install pcl
。不行。
如何解决?
您尝试修复权限了吗?
$ chmod -R 755 ~/Library/Logs/Homebrew
应该可以解决这个问题,您可以重试安装...