Homebrew给了我一些警告,并告诉我从/ usr和/ Library文件夹中删除某些文件,这些文件妨碍了某些安装。有没有办法从根目录中删除这些文件,还是我必须手动
Warning: libiconv files detected at a system prefix other than /usr
Homebrew doesn't provide a libiconv formula, and expects to link against
the system version in /usr. libiconv in other prefixes can cause
compile or link failure, especially if compiled with improper
architectures. OS X itself never installs anything to /usr/local so
it was either installed by a user or some other third party software.
tl;dr: delete these files:
/usr/local/lib/libiconv.dylib
/usr/local/include/iconv.h
它还告诉我删除另一个文件
Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.