J’essaie d’installer wxWidgets sur Mac OS X 10.9. Il est déjà installé, mais le problème est décrit ici . Quelqu’un a suggéré d’append ENV.append_to_cflags "-stdlib=libc++"
. Je l’ai fait, mais je ne suis pas capable de recomstackr le code.
$ brew install wxmac Warning: wxmac-3.0.0 already installed $ brew edit wxmac => ok, modifications done, now I want to recomstack and reinstall $ brew uninstall wxmac Uninstalling /usr/local/Cellar/wxmac/3.0.0... $ brew install wxmac ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/wxmac- 3.0.0.mavericks.bottle.2.tar.gz Already downloaded: /Library/Caches/Homebrew/wxmac-3.0.0.mavericks.bottle.2.tar.gz ==> Pouring wxmac-3.0.0.mavericks.bottle.2.tar.gz 🍺 /usr/local/Cellar/wxmac/3.0.0: 775 files, 41M
Comment puis-je forcer l’homebrew à recomstackr?
Homebrew installe wxmac sous forme de bouteille (un binary pré-compilé de wxmac). Pour générer à partir du code source, ajoutez l’ --build-from-source
lors de l’appel à brew install
:
$ brew install --build-from-source wxmac
Pour reconstruire toutes les FORMULAS installées depuis la source:
$ liste de armsage | xargs brew réinstaller --build-from-source