OSX homebrew error when install gdb: ''Uninitialized constant Homebrew::FormulaClassUnavailableError" -
i having problems installing gdb on os x el capitan 10.11.6.
i ran brew install homebrew/dupes/gdb
in terminal, , got
error: uninitialized constant homebrew::formulaclassunavailableerror please report bug: https://git.io/brew-troubleshooting /usr/local/library/homebrew/cmd/install.rb:151:in `rescue in install' /usr/local/library/homebrew/cmd/install.rb:82:in `install' /usr/local/library/brew.rb:84:in `<main>'
what mean , how fix that? please me.
edit: after run brew doctor
got these:
warning: /usr/local/bin isn't writable. can happen if "sudo make install" software isn't managed homebrew. if formula tries write file directory, install fail during link step. should change ownership , permissions of /usr/local/bin user account. sudo chown -r $(whoami) /usr/local/bin warning: have macports or fink installed: /opt/local/bin/port can cause trouble. don't have uninstall them, may want temporarily move them out of way, e.g. sudo mv /opt/local ~/macports warning: suspicious git origin remote found. non-standard origin, homebrew won't pull updates main repository. current git origin is: https://github.com/homebrew/brew unless have compelling reasons, consider setting origin remote point @ main repository, located at: https://github.com/homebrew/homebrew.git warning: have uncommitted modifications homebrew if surprise you, should stash these modifications. stashing returns homebrew pristine state can undone should later need reason. cd /usr/local/library && git stash && git clean -d -f
is cause of homebrew or other reasons?
Comments
Post a Comment