Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Created October 12, 2012 04:56
Show Gist options
  • Save kjunichi/3877392 to your computer and use it in GitHub Desktop.
Save kjunichi/3877392 to your computer and use it in GitHub Desktop.
/usr/localにせっせと自力ビルドいれて、brewもデフォルトで使って不幸になった件
brew doctorでいろいろ怒られるまで、めんどいから/usr/localにせっせといれてた。
が、brewをデフォルトで使う場合、/opt/gnuとかに入れたほうがよさそう。
何でって、今朝gnuplotのコンパイルに失敗したから
pongoがシンボル解決できなくてコンパイルというよりリンクで落ちてしまっていた。
結局、小心者なのと./configure --prefix=/foo/bar するくらいは
手間と思わないので、
brew doctor
のいわれるがまま、片っ端から.pc,.la,dylib?.aを消しまくって、
.profileの/で終わるパスのケチすら直して対応した
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment