
프로그래밍을 하고 싶었지만 대신 관리를 하고 있습니다. Brew를 사용하여 imagemagick을 설치하고 싶지만 빌드에 실패합니다. 1) 양조 의사는 이렇게 말합니다.
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/opt/local/bin/freetype-config
/opt/local/bin/gpg-error-config
/opt/local/bin/ksba-config
/opt/local/bin/libgcrypt-config
/opt/local/bin/libpng-config
/opt/local/bin/libpng16-config
/opt/local/bin/Magick++-config
/opt/local/bin/Magick-config
/opt/local/bin/MagickCore-config
/opt/local/bin/MagickWand-config
/opt/local/bin/ncurses6-config
/opt/local/bin/ncursesw6-config
/opt/local/bin/pcre-config
/opt/local/bin/pkg-config
/opt/local/bin/python2.6-config
/opt/local/bin/python2.7-config
/opt/local/bin/Wand-config
/opt/local/bin/xml2-config
그 중 일부는 imagemagick과 관련된 것처럼 보입니다. 실패한 설치로 인해 그런 일이 발생했나요? 진단에 도움이 되는 정보인데 어떻게 해야 하나요?
2) 또한 다음과 같이 경고합니다.
Warning: You have MacPorts or Fink installed:
/opt/local/bin/port
This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.
sudo mv /opt/local ~/macports
그렇게 할 수는 있지만 macport가 방해가 되어 Brew를 사용할 때마다 Macport를 이동했다가 다시 다시 이동해야 하는 것이 영구적인 문제입니까? Brew와 Macport가 서로 간섭하지 않도록 어떻게든 설정할 수 있습니까?
3) 이는 동일한 문제의 증상일 수도 있지만 다음과 같은 현상도 나타납니다.
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/node/android-ifaddrs.h
/usr/local/include/node/ares.h
/usr/local/include/node/ares_build.h
/usr/local/include/node/ares_rules.h
/usr/local/include/node/ares_version.h
// ... about 80 of these, all beginning with /usr/local/include/node
이 답변"이들을 제거하고 homebrew에서 nodejs를 설치하세요"라고 유쾌하게 제안합니다. 이러한 파일을 rm-ing하는 것은 잘못되고 위험한 것처럼 들립니다. 이것이 올바른 조치인가요? 누군가 nodejs가 설치된 포트를 Brew가 설치된 포트로 교체하는 안전한 절차를 제안할 수 있습니까?