Homebrew Installation Fails

Discussion about building and installing Elmer
Post Reply
NGeorgescu
Posts: 1
Joined: 16 Apr 2018, 23:36
Antispam: Yes

Homebrew Installation Fails

Post by NGeorgescu » 16 Apr 2018, 23:45

On Homebrew 1.6.1 (MacOS 10.13.4), using

Code: Select all

brew install elmercsc/elmerfem/elmer
it kicks back the error:

Code: Select all

Error: Calling 'depends_on :mpi' is disabled!
Use 'depends_on "open-mpi"' instead.
/usr/local/Homebrew/Library/Taps/elmercsc/homebrew-elmerfem/elmer.rb:22:in `<class:Elmer>'
Please report this to the elmercsc/elmerfem tap!
Or, even better, submit a PR to fix it!
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/elmercsc/homebrew-elmerfem/issues
This seems totally asinine. Is there a way to get around this or am I stuck?

Thanks,
NSG

kataja
Posts: 71
Joined: 09 May 2014, 16:06
Antispam: Yes

Re: Homebrew Installation Fails

Post by kataja » 20 Apr 2018, 09:26

Run

Code: Select all

 brew update 
and try again. Please let us know if it still fails.

hoffmaao
Posts: 3
Joined: 20 Jun 2018, 21:44
Antispam: Yes

Re: Homebrew Installation Fails

Post by hoffmaao » 20 Jun 2018, 23:50

Have you tried editing the elmer.rb file (probably located here: /usr/local/Homebrew/Library/Taps/elmercsc/homebrew-elmerfem/elmer.rb)

Change the depends_on instance to the suggestion and give that a try.

Post Reply