Der Brew-Build schlägt fehl. Wie behebt man diese vom Brew-Arzt gemeldeten Probleme?

Der Brew-Build schlägt fehl. Wie behebt man diese vom Brew-Arzt gemeldeten Probleme?

Ich wünschte, ich würde programmieren, aber stattdessen bin ich Administrator. Ich möchte ImageMagick mit Brew installieren, aber es wird nicht erstellt. 1) Brew Doctor sagt:

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

Einige davon scheinen mit ImageMagick in Zusammenhang zu stehen. War meine fehlgeschlagene Installation der Grund dafür? Diese Informationen sind für die Diagnose hilfreich, aber was soll ich dagegen tun?

2) Außerdem wird gewarnt:

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

Das kann ich tun, aber ist es ein dauerhaftes Problem, dass Macports mir im Weg ist und ich es jedes Mal, wenn ich Brew verwende, verschieben und wieder zurück verschieben muss? Kann ich es irgendwie so einrichten, dass Brew und Macports sich nicht gegenseitig stören?

3) Vielleicht ist dies ein Symptom desselben Problems, aber ich erhalte auch Folgendes:

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

Diese Antwortschlägt mir munter vor, sie zu „entfernen und nodejs von Homebrew zu installieren“. Diese Dateien einfach per rm-Befehl zu löschen klingt falsch und gefährlich. Ist das die richtige Vorgehensweise, und kann jemand ein sicheres Verfahren vorschlagen, um ein auf dem Port installiertes Node.JS durch ein auf Brew installiertes zu ersetzen?

verwandte Informationen