Homebrew on Mac Os 10.10 or 10.11 is not working

后端 未结 2 1005
南笙
南笙 2021-02-19 06:15

After installed Homebrew, when I run any brew ***, I keep getting this error:

Homebrew requires Leopard or higher. For Tiger support, see:
https://g         


        
相关标签:
2条回答
  • 2021-02-19 06:26

    Above change did not work for me.. it gave the error Error: Mac OS X `10.1' is invalid

    I had to change the brew.rb to:

    if MACOS_VERSION == 10.10
            MACOS_VERSION = 10.99
    end
    

    before

    if MACOS and MACOS_VERSION < 10.5
    
    0 讨论(0)
  • 2021-02-19 06:32

    Edit the brew.rb file to get this :

    # 10.10 stands for Mac OS Yosemite
    # 10.11 stands for Mac OS El Capitan
    if MACOS and MACOS_VERSION < 10.5 and MACOS_VERSION != 10.1 and MACOS_VERSION != 10.11
      abort <<-EOABORT.undent
        Homebrew requires Leopard or higher. For Tiger support, see:
        http://github.com/sceaga/homebrew/tree/tiger
      EOABORT
    end
    

    It'll then install fine.

    This is because 10.10 is the same than 10.1 which is below 10.5

    0 讨论(0)
提交回复
热议问题