This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Dec 1st, 2012  |  syntax: None  |  size: 1.97 KB  |  views: 213  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Consider amending your PATH so that /usr/local/bin
  2. occurs before /usr/bin in your PATH.
  3. Warning: You have a non-Homebrew 'pkg-config' in your PATH:
  4.   /opt/sm/pkg/active/bin/pkg-config
  6. `./configure` may have problems finding brew-installed packages using
  7. this other pkg-config.
  8. unknown7cd1c3e98b07:~ pdenlinger$ brew install git
  9. Error: git-1.8.0 already installed, it's just not linked
  10. unknown7cd1c3e98b07:~ pdenlinger$ brew link git
  11. Linking /usr/local/Cellar/git/1.8.0... Warning: Could not link git. Unlinking...
  13. Error: Could not symlink file: /usr/local/Cellar/git/1.8.0/bin/gitk
  14. Target /usr/local/bin/gitk already exists. You may need to delete it.
  15. To force the link and delete this file, do:
  16.   brew link --overwrite formula_name
  18. To list all files that would be deleted:
  19.   brew link --overwrite --dry-run formula_name
  20. unknown7cd1c3e98b07:~ pdenlinger$ brew link git
  22. sudo vi /etc/paths     /usr/local/bin  /usr/local/sbin   /usr/bin   /bin   /usr/sbin   /sbin
  23. 7 files to edit
  26. E325: ATTENTION
  27. Found a swap file by the name "/etc/.paths.swp"
  28.           owned by: root   dated: Thu Nov 22 09:10:09 2012
  29.          file name: /private/etc/paths
  30.           modified: no
  31.          user name: root   host name:
  32.         process ID: 98069 (still running)
  33. While opening file "/etc/paths"
  34.              dated: Tue Aug 21 15:44:10 2012
  36. (1) Another program may be editing the same file.
  37.     If this is the case, be careful not to end up with two
  38.     different instances of the same file when making changes.
  39.     Quit, or continue with caution.
  41. (2) An edit session for this file crashed.
  42.     If this is the case, use ":recover" or "vim -r /etc/paths"
  43.     to recover the changes (see ":help recovery").
  44.     If you did this already, delete the swap file "/etc/.paths.swp"
  45.     to avoid this message.
  47. Swap file "/etc/.paths.swp" already exists!
  48. [O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:
  50. $ sudo vi /etc/paths
  51. /usr/local/bin
  52. /usr/local/sbin
  53. /usr/bin
  54. /bin
  55. /usr/sbin
  56. /sbin
clone this paste RAW Paste Data