I really need some help please,
Ive installed brew using the terminal instructions. I then tried to install brew cask. This failed and it asked me to install GIT, using
brew install git , which I tried, this failed with an error saying install brew install gcc, which I tried, and this failed with an error saying brew install gcc, which I tried, This failed as well, so I downloaded GIT from http://git-scm.com/download/mac and its still failing with the errors Error: Failure while executing: -L /usr/local/Cellar/git/2.2.0/share/git-gui/lib/Git\ Gui.app/Contents/MacOS/Wish
Warning: Bottle installation failed: building from source.
Error: git cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
It also mentioned brew doctor? which I tried to run, but then thought I shouldn't make the suggested changes without asking for help,
I'll paste the terminal output below, Im sure something really small is going wrong, but Im a complete newbie at shell scripts and terminals etc, Im just trying to get this to work so I can run the amc script, please help someone! I'll be so grateful!
Thank you for any help,
Qaizer
Code: Select all
==> Downloading and installing Homebrew...
==> Installation successful!
==> Next steps
Install the Command Line Tools for Xcode: https://developer.apple.com/downloads
Run `brew doctor` before you install anything
Run `brew help` to get started
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install caskroom/cask/brew-cask
You must: brew install git
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install git
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.0.m
######################################################################## 100.0%
==> Pouring git-2.2.0.mountain_lion.bottle.1.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/git/2.2.0/share/git-gui/lib/Git\ Gui.app/Contents/MacOS/Wish
Warning: Bottle installation failed: building from source.
Error: git cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install gcc
==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl, cloog
==> Installing gcc dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.
######################################################################## 100.0%
==> Pouring gmp-6.0.0a.mountain_lion.bottle.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/gmp/6.0.0a/lib/libgmpxx.4.dylib
Warning: Bottle installation failed: building from source.
Error: gmp cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install gcc
==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl, cloog
==> Installing gcc dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.
Already downloaded: /Library/Caches/Homebrew/gmp-6.0.0a.mountain_lion.bottle.tar.gz
==> Pouring gmp-6.0.0a.mountain_lion.bottle.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/gmp/6.0.0a/lib/libgmpxx.4.dylib
Warning: Bottle installation failed: building from source.
Error: gmp cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install caskroom/cask/brew-cask
You must: brew install git
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install git
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.0.m
Already downloaded: /Library/Caches/Homebrew/git-2.2.0.mountain_lion.bottle.1.tar.gz
==> Pouring git-2.2.0.mountain_lion.bottle.1.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/git/2.2.0/share/git-gui/lib/Git\ Gui.app/Contents/MacOS/Wish
Warning: Bottle installation failed: building from source.
Error: git cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install gcc
==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl, cloog
==> Installing gcc dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.
Already downloaded: /Library/Caches/Homebrew/gmp-6.0.0a.mountain_lion.bottle.tar.gz
==> Pouring gmp-6.0.0a.mountain_lion.bottle.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/gmp/6.0.0a/lib/libgmpxx.4.dylib
Warning: Bottle installation failed: building from source.
Error: gmp cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install gcc
==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl, cloog
==> Installing gcc dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.
Already downloaded: /Library/Caches/Homebrew/gmp-6.0.0a.mountain_lion.bottle.tar.gz
==> Pouring gmp-6.0.0a.mountain_lion.bottle.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/gmp/6.0.0a/lib/libgmpxx.4.dylib
Warning: Bottle installation failed: building from source.
Error: gmp cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install caskroom/cask/brew-cask
You must: brew install git
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install git
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.0.mountain_lion.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/git-2.2.0.mountain_lion.bottle.1.tar.gz
==> Pouring git-2.2.0.mountain_lion.bottle.1.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/git/2.2.0/share/git-gui/lib/Git\ Gui.app/Contents/MacOS/Wish
Warning: Bottle installation failed: building from source.
Error: git cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Git could not be found in your PATH.
Homebrew uses Git for several internal functions, and some formulae use Git
checkouts instead of stable tarballs. You may want to install Git:
brew install git
Warning: Your XQuartz (2.7.4) is outdated
Please install XQuartz 2.7.7:
https://xquartz.macosforge.org
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libmp3lame.0.0.0.dylib
/usr/local/lib/libntfs-3g.80.dylib
/usr/local/lib/libntfs.9.0.0.dylib
/usr/local/lib/libogg.0.2.0.dylib
/usr/local/lib/libublio.1.dylib
/usr/local/lib/libvorbis.0.0.1.dylib
/usr/local/lib/libvorbisenc.0.0.1.dylib
/usr/local/lib/libvorbisfile.0.1.0.dylib
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/dlfcn.h
/usr/local/include/ntfs/attrib.h
/usr/local/include/ntfs/attrlist.h
/usr/local/include/ntfs/bitmap.h
/usr/local/include/ntfs/bootsect.h
/usr/local/include/ntfs/collate.h
/usr/local/include/ntfs/compat.h
/usr/local/include/ntfs/compress.h
/usr/local/include/ntfs/debug.h
/usr/local/include/ntfs/device.h
/usr/local/include/ntfs/device_io.h
/usr/local/include/ntfs/dir.h
/usr/local/include/ntfs/endians.h
/usr/local/include/ntfs/gnome-vfs-method.h
/usr/local/include/ntfs/gnome-vfs-module.h
/usr/local/include/ntfs/index.h
/usr/local/include/ntfs/inode.h
/usr/local/include/ntfs/layout.h
/usr/local/include/ntfs/lcnalloc.h
/usr/local/include/ntfs/list.h
/usr/local/include/ntfs/logfile.h
/usr/local/include/ntfs/logging.h
/usr/local/include/ntfs/mft.h
/usr/local/include/ntfs/mst.h
/usr/local/include/ntfs/ntfstime.h
/usr/local/include/ntfs/rich.h
/usr/local/include/ntfs/runlist.h
/usr/local/include/ntfs/security.h
/usr/local/include/ntfs/support.h
/usr/local/include/ntfs/tree.h
/usr/local/include/ntfs/types.h
/usr/local/include/ntfs/unistr.h
/usr/local/include/ntfs/version.h
/usr/local/include/ntfs/volume.h
/usr/local/include/ntfs-3g/acls.h
/usr/local/include/ntfs-3g/attrib.h
/usr/local/include/ntfs-3g/attrlist.h
/usr/local/include/ntfs-3g/bitmap.h
/usr/local/include/ntfs-3g/bootsect.h
/usr/local/include/ntfs-3g/cache.h
/usr/local/include/ntfs-3g/collate.h
/usr/local/include/ntfs-3g/compat.h
/usr/local/include/ntfs-3g/compress.h
/usr/local/include/ntfs-3g/debug.h
/usr/local/include/ntfs-3g/device.h
/usr/local/include/ntfs-3g/device_io.h
/usr/local/include/ntfs-3g/dir.h
/usr/local/include/ntfs-3g/efs.h
/usr/local/include/ntfs-3g/endians.h
/usr/local/include/ntfs-3g/index.h
/usr/local/include/ntfs-3g/inode.h
/usr/local/include/ntfs-3g/layout.h
/usr/local/include/ntfs-3g/lcnalloc.h
/usr/local/include/ntfs-3g/logfile.h
/usr/local/include/ntfs-3g/logging.h
/usr/local/include/ntfs-3g/mft.h
/usr/local/include/ntfs-3g/misc.h
/usr/local/include/ntfs-3g/mst.h
/usr/local/include/ntfs-3g/ntfstime.h
/usr/local/include/ntfs-3g/object_id.h
/usr/local/include/ntfs-3g/param.h
/usr/local/include/ntfs-3g/reparse.h
/usr/local/include/ntfs-3g/runlist.h
/usr/local/include/ntfs-3g/security.h
/usr/local/include/ntfs-3g/support.h
/usr/local/include/ntfs-3g/types.h
/usr/local/include/ntfs-3g/unistr.h
/usr/local/include/ntfs-3g/volume.h
/usr/local/include/ogg/config_types.h
/usr/local/include/ogg/ogg.h
/usr/local/include/ogg/os_types.h
/usr/local/include/ublio.h
/usr/local/include/vorbis/codec.h
/usr/local/include/vorbis/vorbisenc.h
/usr/local/include/vorbis/vorbisfile.h
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libmp3lame.la
/usr/local/lib/libntfs-3g.la
/usr/local/lib/libntfs.la
/usr/local/lib/libogg.la
/usr/local/lib/libublio.la
/usr/local/lib/libvorbis.la
/usr/local/lib/libvorbisenc.la
/usr/local/lib/libvorbisfile.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/libntfs-3g.pc
/usr/local/lib/pkgconfig/libublio.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libdl.a
/usr/local/lib/libmp3lame.a
/usr/local/lib/libntfs-3g.a
/usr/local/lib/libntfs.a
/usr/local/lib/libogg.a
/usr/local/lib/libublio.a
/usr/local/lib/libvorbis.a
/usr/local/lib/libvorbisenc.a
/usr/local/lib/libvorbisfile.a
Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
echo export PATH='/usr/local/sbin:$PATH' >> ~/.bash_profile
Warning: Your Xcode is configured with an invalid path.
You should change it to the correct path:
sudo xcode-select -switch /Developer
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install gcc
==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl, cloog
==> Installing gcc dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.mountain_lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/gmp-6.0.0a.mountain_lion.bottle.tar.gz
==> Pouring gmp-6.0.0a.mountain_lion.bottle.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/gmp/6.0.0a/lib/libgmpxx.4.dylib
Warning: Bottle installation failed: building from source.
Error: gmp cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram$ brew install gcc
==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl, cloog
==> Installing gcc dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.mountain_lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/gmp-6.0.0a.mountain_lion.bottle.tar.gz
==> Pouring gmp-6.0.0a.mountain_lion.bottle.tar.gz
sh: -L: invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Error: Failure while executing: -L /usr/local/Cellar/gmp/6.0.0a/lib/libgmpxx.4.dylib
Warning: Bottle installation failed: building from source.
Error: gmp cannot be built with any available compilers.
To install this formula, you may need to:
brew install gcc
Qaizer-Visrams-MacBook-Pro-2:~ qaizervisram