PizzaFactory / homebrew-commandline

Fomulae for Homebrew
0 stars 0 forks source link

Conflicts with gdb #1

Closed monaka closed 10 years ago

monaka commented 10 years ago

It will be occurred on other PizzaFactory tools also.

Linking /usr/local/Cellar/pf-gnuchains4x-rx-elf/4.6.4-20140428... 
Error: Could not symlink share/info/bfd.info
Target /usr/local/share/info/bfd.info
is a symlink belonging to gdb. You can unlink it:
  brew unlink gdb

To force the link and overwrite all conflicting files:
  brew link --overwrite pf-gnuchains4x-rx-elf

To list all files that would be deleted:
  brew link --overwrite --dry-run pf-gnuchains4x-rx-elf
monaka commented 10 years ago

This is a configuration bug. Please avoid this issue like this for now.

brew unlink gdb
brew link {{formula_name_you_want_to_install}}

Please don't use --overwrite flag.

monaka commented 10 years ago

This issue was caused by bad Formulae. I fixed.