Elixir: MacOS Sierra installation via homebrew fails

Created on 6 Aug 2016  Â·  7Comments  Â·  Source: elixir-lang/elixir

On MacOS Sierra Beta (16A239m), the installation via homebrew fails due to an unsatisfied dependency.

wxmac: This formula either does not compile or function as expected on OS X

By installing wxmac with the --devel flag, wxmac will install, but at this time elixir itself won't. I'm not sure how to get elixir to install that dev version of wxmac. It may be that this simply sorts itself out when wxmac pushes the devel version to stable, but this was a stumbling block for me and I thought I'd flag it in case any further action could be taken to ease this pain.

Most helpful comment

wxmac is only a recommended dependency of erlang, so I disabled it:

brew install erlang --without-wxmac
brew install elixir

Everything installs as expected.

All 7 comments

Hey @colinramsay, thanks for the report. However, I would say that this is not a bug with Elixir and maybe an issue should be opened in homebrew-core, where the Elixir formula lives. Wdyt?

Possibly! I wasn't sure where the ownership of this would lie. Homebrew also gives the following message:

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

In other words, if I can't fix it, don't bring it up. I opened the issue here in the hope that someone familiar with elixir _and_ homebrew could advise - perhaps one of the people who have contributed to the elixir formula.

What do you mean by Elixir won't install when using --devel for wxmac? Do
you have the error message?

You should be able to install Erland without wxmac though. So maybe try
installing Erlang first, without wxmac, and then try Elixir.

On Saturday, August 6, 2016, Colin Ramsay [email protected] wrote:

Possibly! I wasn't sure where the ownership of this would lie. Homebrew
also gives the following message:

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

In other words, if I can't fix it, don't bring it up. I opened the issue
here in the hope that someone familiar with elixir _and_ homebrew could
advise - perhaps one of the people who have contributed to the elixir
formula.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elixir-lang/elixir/issues/5099#issuecomment-238013157,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAlbukbkowGf5NL-q9Ik1y5Fy878UETks5qdEkQgaJpZM4JeOXq
.

_José Valim_
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

~ rvm:(ruby-2.2.0) brew install --debug --devel elixir
/usr/local/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Taps/homebrew/homebrew-core/Formula/elixir.rb
Error: No devel block is defined for elixir
/usr/local/Library/Homebrew/cmd/install.rb:130:in `block in install'
/usr/local/Library/Homebrew/cmd/install.rb:102:in `each'
/usr/local/Library/Homebrew/cmd/install.rb:102:in `install'
/usr/local/Library/Homebrew/brew.rb:87:in `<main>'

With wxmac-3.1.0_2 already installed via brew install --devel wxmac, brew install elixir just gives:

wxmac: This formula either does not compile or function as expected on OS X

I'll try installing Erlang first, thanks for the recommendation.

~ rvm:(ruby-2.2.0) brew install erlang
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
wxmac: This formula either does not compile or function as expected on OS X
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.

😞

The elixir is failing because there is no --devel support for it. Can you
check the Erlang formula to see if you can install it without wxmac? I am
assuming a flag is needed or you will have to at least change the formula.

On Saturday, August 6, 2016, Colin Ramsay [email protected] wrote:

~ rvm:(ruby-2.2.0) brew install erlang
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
wxmac: This formula either does not compile or function as expected on OS X
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.

😞

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/elixir-lang/elixir/issues/5099#issuecomment-238015782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAlbj0zzuvvkXvawtvkdxDnxQ5Orjp6ks5qdFnLgaJpZM4JeOXq
.

_José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D_

wxmac is only a recommended dependency of erlang, so I disabled it:

brew install erlang --without-wxmac
brew install elixir

Everything installs as expected.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sashaafm picture sashaafm  Â·  3Comments

jdeisenberg picture jdeisenberg  Â·  4Comments

cmeiklejohn picture cmeiklejohn  Â·  3Comments

DEvil0000 picture DEvil0000  Â·  3Comments

LucianaMarques picture LucianaMarques  Â·  3Comments