Help us understand the problem. What is going on with this article?

Homebrewでbrew doctorしたらWarning: "config" scripts exist outside your system or Homebrew directories.となった時の解決方法

More than 1 year has passed since last update.

はじめに

brew doctorしたらWarning(警告)が出たので、その解決方法をまとめました。

Warningの内容

内容としてはHomebrewの管理外なconfigファイル(コンピューター上で動作するプログラム)があると衝突おこすかもよというものです。

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:
  /Users/Username/anaconda3/bin/icu-config
  /Users/Username/anaconda3/bin/freetype-config
  /Users/Username/anaconda3/bin/xslt-config
  /Users/Username/anaconda3/bin/libpng16-config
  /Users/Username/anaconda3/bin/python3.6m-config
  /Users/Username/anaconda3/bin/libpng-config
  /Users/Username/anaconda3/bin/xml2-config
  /Users/Username/anaconda3/bin/python3-config
  /Users/Username/anaconda3/bin/curl-config
  /Users/Username/anaconda3/bin/ncursesw6-config

原因

どうやら、AnacondaとHomebrewは相性が悪く、お互い干渉する様です。
(Anacondaは、かなり前にpython環境を構築しようと思ってインストールしていたものです)

解決方法

結論としては、Anacondaをアンインストールする事です。
手順はこちら

対応後

brew doctorを実行して、

$ brew doctor
Your system is ready to brew.

と表示されれば、解決です。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした