安装 Foonathan Memory 依赖项时出现错误。
这是我的终端日志:
eungbinkim@EungBinui-MacBookAir build % cmake --build . --target install
[100%] Built target foo_mem-ext
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local
CMake Error at cmake_install.cmake:49 (file):
file INSTALL cannot set permissions on "/usr/local": Operation not
permitted.
make: *** [install] Error 1
eungbinkim@EungBinui-MacBookAir build % cmake --build . --target install
[100%] Built target foo_mem-ext
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local
CMake Error at cmake_install.cmake:49 (file):
file INSTALL cannot set permissions on "/usr/local": Operation not
permitted.