
Хотел бы я быть программистом, но вместо этого я админ. Хочу установить imagemagick с помощью brew, но сборка не удаётся. 1) brew doctor говорит:
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
Я могу это сделать, но будет ли это постоянной проблемой, если MacPorts будет мешать мне, и мне придется каждый раз при использовании brew перемещать его, а затем возвращать обратно? Можно ли как-то настроить так, чтобы brew и macports не мешали друг другу?
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
Этот ответбеспечно предлагает мне "Удалить их и установить nodejs из homebrew". Простое rm-ирование этих файлов звучит неправильно и опасно. Правильное ли это действие, и может ли кто-нибудь предложить безопасную процедуру замены порта, установленного nodejs, на установленный brew?