brew : 2.5.0
os : macos 10.15.6
when I execute the command brew install boost@1.59
error happends that Error: boost@1.59 has been disabled because it is a versioned formula!
I have install the boost that version is 1.73.0
brew : 2.5.0
os : macos 10.15.6
when I execute the command brew install boost@1.59
error happends that Error: boost@1.59 has been disabled because it is a versioned formula!
I have install the boost that version is 1.73.0
I just came across this issue myself. I resolved it by:
brew edit boost@1.59
The Formula *.rb will open in your code editor. At that point, remove the line:
disable! because: :versioned_formula
Save it.
Run:
brew install boost@1.59
Optional:
brew link boost@1.60
Well, the boost@1.59 has been disabled.see
If we still need it, we can build our own brew repo.
I have create a repo which checked boost@1.59.rb out from offical repo and enable it.
Then open the terminal, include your repo brew tap [user]/[repo] [url] and install it.
e.g.
brew tap jokersun/my https://github.com/JokerSun/homebrew-my.git
brew update
brew search boost@1.59
> jokersun/my/boost@1.59 ✔
brew install jokersun/my/boost@1.59
It will compile and intall into your pc for many minutes (It takes about 10m on my mac).