How to force homebrew to recompile?

I am trying to install wxWidgets on Mac OS X 10.9. It is already installed, but I have the problem described here. Someone suggested adding ENV.append_to_cflags “-stdlib=libc”. I don’t have it, but I can’t recompile the code.

$ brew install wxmac
Warning: wxmac-3.0.0 already installed
$ brew edit wxmac
=> ok, modifications done, now I want to recompile 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

How to force homebrew to recompile?

Homebrew is installing wxmac (a pre-compiled binary file of wxmac) in a bottle. To build from source, add the –build-from-source flag when calling brew install:

$ brew install --build-from-source wxmac< /pre> 

I am trying to install wxWidgets on Mac OS X 10.9. It is already installed, but I have the problem described here. Someone suggested adding ENV.append_to_cflags "-stdlib=libc". I don't have it, but I can't recompile the code.

$ brew install wxmac
Warning: wxmac-3.0.0 already installed
$ brew edit wxmac
=> ok, modifications done, now I want to recompile 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

How to force homebrew to recompile?

Homebrew is installing wxmac (a precompiled binary file of wxmac) in a bottle. To build from source, add the –build-from-source flag when calling brew install:

$ brew install --build-from-source wxmac< /pre>

Leave a Comment

Your email address will not be published.