FluidityProject/homebrew-supportingsoftware

Can't add tap to brew

Closed this issue · 3 comments

Hello,

I've tried to install software via Homebrew and got this error.

brew version: 2.2.1
osx version: 10.13.6 (high sierra)

$ brew tap FluidityProject/supportingsoftware ==> Tapping fluidityproject/supportingsoftware Cloning into '/usr/local/Homebrew/Library/Taps/fluidityproject/homebrew-supportingsoftware'... remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (9/9), done. remote: Total 9 (delta 0), reused 9 (delta 0), pack-reused 0 Unpacking objects: 100% (9/9), done. Error: Invalid formula: /usr/local/Homebrew/Library/Taps/fluidityproject/homebrew-supportingsoftware/libspud.rb libspud: Unsupported special dependency :fortran Error: Invalid formula: /usr/local/Homebrew/Library/Taps/fluidityproject/homebrew-supportingsoftware/zoltan.rb zoltan: Unsupported special dependency :fortran Error: Invalid formula: /usr/local/Homebrew/Library/Taps/fluidityproject/homebrew-supportingsoftware/fluidity.rb fluidity: Unsupported special dependency :mpi Error: Invalid formula: /usr/local/Homebrew/Library/Taps/fluidityproject/homebrew-supportingsoftware/petsc-fluidity.rb petsc-fluidity: Unsupported special dependency :mpi Error: Cannot tap fluidityproject/supportingsoftware: invalid syntax in tap!

jrper commented

Hello. Unfortunately the homebrew packages for Fluidity are very much an 'as time permits' service, and have rather fallen behind (hence the wealth of syntax errors you are seeing). I can certainly add this to my to do list, but given the holiday season is rapidly approaching, I can't guarantee that it will get worked on quickly. If you are still interested in running Fluidity on Mac OS X, it certainly still works, but for now you will have to install the necessary supporting packages by hand to build from source. If you can't find an up to date list in the documentation, let us know and we'll try and put one together for you.

Thank you for response, I wasn't expect to hear from someone.

It's not related to this repo at all, but I also tried to run it from docker.

I've tried to reproduce steps from this tutorial https://github.com/FluidityProject/fluidity/wiki/Running-Fluidity-with-Docker
But ended up with error

> docker run -v $PWD:/rundir -w="/rundir" -a stdout -t fluidity/release make preprocess run
*** ERROR ***
Fluidity python support, required by this example, was not found on your
system. Please either (a) install the Fluidity binary package if you are on
Ubuntu, or (b) get hold of a Fluidity source tree and set your PYTHONPATH to
refer to this, as described in the Fluidity manual.
make: *** [envcheck] Error 1

Then I realized that it 4 years outdated https://hub.docker.com/r/fluidity/release

Next I tried to use this image which looks fresh, updated just month ago https://hub.docker.com/r/fluidity/baseimages which gives this error docker: Error response from daemon: manifest for fluidity/baseimages:latest not found: manifest unknown: manifest unknown. See 'docker run --help'.

Then I tried to build docker image from latest branch https://github.com/FluidityProject/docker/tree/centos7-mpich-dev-build but when I tried run it it also show error

>docker run -v $PWD:/rundir -w="/rundir" -a stdout -t my-fluidity-container make preprocess run
/bin/sh: which: command not found
/bin/sh: which: command not found
/bin/sh: which: command not found
/bin/sh: which: command not found
*** ERROR ***\nThe Fluidity binaries needed to run this example can't be found.\nTo fix this either:\n\n   (a) install the Fluidity binary package if you are on Ubuntu\n   (b) compile Fluidity from source and install it in a system-accessable\n         location\n   (c) set your PATH environment variable to point to a built version of\n         Fluidity.\n\nRefer to the Fluidity manual for more instructions on any of the above,\nor contact the fluidity@imperial.ac.uk mailing list.\n
make: *** [envcheck] Error 1

Why I tried to use docker, because building it on host machine require replace gcc , but I don't want to brake other software I build on my machine. But if it is the only way I can try.