我想在OSX上通过brew
安装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
应该修复此问题,您可以重试安装。。。