Probleme wenn ich Homebrew benutze

Ich möchte Git auf meinem Mac (OS X 10.10.3) installieren. Ich schreibe: brew install git

aber es berichtete:

sh: line 1:  1549 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find clang 2> /dev/null
clang: error: unable to find utility "clang", not a developer tool or in PATH
sh: line 1:  1552 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find otool 2> /dev/null
otool: error: unable to find utility "otool", not a developer tool or in PATH
Error: Failure while executing: /usr/bin/otool -L /usr/bin/install_name_tool

ann schreibe ich Braudoktor. es berichtete:

Warning: /usr/local/include isn't writable.

This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.

You should probably `chown` /usr/local/include

Warning: /usr/local/lib isn't writable.

This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.

You should probably `chown` /usr/local/lib
sh: line 1:  1318 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find otool 2> /dev/null
otool: error: unable to find utility "otool", not a developer tool or in PATH
Error: Failure while executing: /usr/bin/otool -L /usr/bin/install_name_tool

then ich chown die lib und include mit "sudo chown 755 include" "sudo chown 755 lib" die erste und die zweite Warnung werden entfernt, aber die dritte ist noch da.

Und was mich noch mehr verwirrt hat, ist das in meinem Finder: / usr / local / die "include" und "lib", die Ordner sein sollten, aber zu Dateien werden. wie kann ich den fehler "otool nicht finden" verschieben und git mit brew und @ installier

Warum werden aus meiner Bibliothek und dem Include-Ordner Dateien? ... Vielen Dank für Ihre Hilfe!

Antworten auf die Frage(4)

Ihre Antwort auf die Frage