2017-11-02 3 views
1

in OSX Fehler installieren,Gebräu installieren coreutils Fehler für 10.12.6 OSX

brew install coreutils 

Error: coreutils: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:73: syntax error, unexpected << def caveats; <<~EOS 

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:77: syntax error, unexpected tIDENTIFIER, expecting keyword_end 
can add a "gnubin" directory to your PATH from your bashrc like: 

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:77: syntax error, unexpected ':', expecting keyword_end 
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:79: dynamic constant assignment 
    PATH="#{opt_libexec}/gnubin:$PATH" 
     ^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:81: dynamic constant assignment 
Additionally, you can access their man pag... 
      ^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:81: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' 
Additionally, you can access their man pages with ... 
        ^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:82: syntax error, unexpected tIDENTIFIER, expecting keyword_end 
the "gnuman" directory to your MANPATH from your bashrc as well: 
        ^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:82: syntax error, unexpected ':', expecting keyword_end 
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/coreutils.rb:84: dynamic constant assignment 
    MANPATH="#{opt_libexec}/gnuman:$MANPATH"` 

Was ist der Grund? Bitte helfen Sie mir dank

+0

Was ist Ihre Homebrew-Version? Hast du versucht, das 'Homebrew' zu aktualisieren? Und was ist Ihre Mac OS X-Version? – Raptor

+1

@Raptor aktualisiert Homebrew, Das Problem wurde gelöst, Danke – DengShiLin

Antwort

Verwandte Themen