JuliaOpt / CoinOptServices.jl

Julia interface to COIN-OR Optimization Services https://projects.coin-or.org/OS
Other
16 stars 4 forks source link

Failure while Pkg.add("CoinOptServices") on OS X #22

Closed kibaekkim closed 8 years ago

kibaekkim commented 8 years ago

I am trying to add the package on my OS X. I have a few warnings and errors. One reason might be that staticfloat/juliadeps/pkg-config is not available from homebrew-juliadeps. The following are the messages I got.

Unlinking /Users/kibaekkim/.julia/v0.4/Homebrew/deps/usr/Cellar/cbc/2.9.7... 275 symlinks removed
Warning: staticfloat/juliadeps/cbc-2.9.7 already installed, it's just not linked
Unlinking /Users/kibaekkim/.julia/v0.4/Homebrew/deps/usr/Cellar/libgfortran/6.1... 6 symlinks removed
Warning: staticfloat/juliadeps/libgfortran-6.1 already installed, it's just not linked
Unlinking /Users/kibaekkim/.julia/v0.4/Homebrew/deps/usr/Cellar/ipopt/3.12.4_1... 67 symlinks removed
Warning: staticfloat/juliadeps/ipopt-3.12.4_1 already installed, it's just not linked
==> Installing bonmin from staticfloat/juliadeps
Error: No available formula with the name "staticfloat/juliadeps/pkg-config" (dependency of staticfloat/juliadeps/bonmin)
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: Broken pipe
===========================[ ERROR: CoinOptServices ]===========================

LoadError: failed process: Process(`/Users/kibaekkim/.julia/v0.4/Homebrew/deps/usr/bin/brew install staticfloat/juliadeps/bonmin`, ProcessExited(1)) [1]
while loading /Users/kibaekkim/.julia/v0.4/CoinOptServices/deps/build.jl, in expression starting on line 69

================================================================================

=================================================================[ BUILD ERRORS ]=================================================================

WARNING: CoinOptServices had build errors.

 - packages with build errors remain installed in /Users/kibaekkim/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("CoinOptServices")`
 - build a single package by running its `deps/build.jl` script

==================================================================================================================================================
tkelman commented 8 years ago

I don't have a mac to test this, but I think https://github.com/staticfloat/homebrew-juliadeps/pull/97 might help?

staticfloat commented 8 years ago

Should be fixed now, please try again.

kibaekkim commented 8 years ago

It works now. Thanks!