fbkarsdorp / homebrew-lamachine

Brew formulas for installing NLP software developed by the Language Machines research group
5 stars 1 forks source link

Resolve error "calling needs :cxx11 is disabled" #15

Closed bencomp closed 5 years ago

bencomp commented 5 years ago

Today, when updating Homebrew and packages, brew update && brew upgrade failed with the error:

Error: Calling needs :cxx11 is disabled! There is no replacement.
Please report this to the fbkarsdorp/lamachine tap:
  /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/mbt.rb:10

Line 10 in mbt.rb is needs :cxx11. I'm guessing that this specific syntax is no longer allowed by Homebrew. Looking at formulae in Homebrew-core that call ENV.cxx11, maybe it's not necessary to even use needs :cxx11, as I haven't seen it elsewhere.

fbkarsdorp commented 5 years ago

Thanks for this. I just removed the requirement. Could you try again?

bencomp commented 5 years ago

That was quick! brew update && brew upgrade now works again. Thanks!