-
Notifications
You must be signed in to change notification settings - Fork 4
Pkg.add("CoinOptServices") and Pkg.build("CoinOptServices") MAC OS Sierra #24
Comments
This is due to being on Sierra, and should be fixed as soon as staticfloat/homebrew-juliadeps#110 gets merged |
Great thanks for the prompt response. Will keep an eye on those developments |
I’m pretty sure at that time I followed your :-) advice: "As a temporary fallback, you can try commenting out this line: https://github.com/JuliaOpt/Ipopt.jl/blob/911d68150970c17277296654e3a806431642a070/deps/build.jl#L71 https://github.com/JuliaOpt/Ipopt.jl/blob/911d68150970c17277296654e3a806431642a070/deps/build.jl#L71 " I just now tried the same trick (line 20 in build.jl of CoinOptServices) and it seems to build ok but in Pkg.test(“CoinOptServices”): Out of 6 total facts:
and now seems stuck at: 2 facts verified.
2 facts verified.
6 facts verified.
|
Oh hah thanks. I don't use a mac so I forget these things. It's expected that OS fails a few of JuMP's tests, those are upstream bugs that might take a long time to get fixed, if ever. I haven't looked in enough detail at how to run only a subset of JuMP's tests with OS to make things green. |
Hopefully this helps @javiervg . |
Thanks a lot guys for your help and prompt resolution, you deserve a homebrew. Commenting out line 20 in build.jl in CoinOptServices/deps/ as goedman recommended did the trick. Tried a couple of tests with Bonmin and Couenne and worked like a charm. (#provides(Homebrew.HB, "Optimizationservices", [libOS], os = :Darwin)) |
OSX 10.12.1
Can't seem to add or build. Might be part of the MAC OS X recent update. Not sure if others are having the same issue, but was not able to find a solution. Thanks,
julia> Pkg.add("CoinOptServices")
INFO: Installing CoinOptServices v0.1.2
INFO: Installing LightXML v0.4.0
INFO: Building Homebrew
Already up-to-date.
INFO: Building Cbc
INFO: Building Ipopt
INFO: Building LightXML
INFO: Building CoinOptServices
WARNING: The following packages do not have relocatable bottles, installation may fail!
Please report these packages to https://github.com/JuliaLang/Homebrew.jl:
staticfloat/juliadeps/Optimizationservices
==> Installing optimizationservices from staticfloat/juliadeps
==> Installing dependencies for staticfloat/juliadeps/optimizationservices: staticfloat/juliadeps/couenne, cmake, homebrew/science/cppad
==> Installing staticfloat/juliadeps/optimizationservices dependency: staticfloat/juliadeps/couenne
==> Downloading http://www.coin-or.org/download/pkgsource/Couenne/Couenne-0.5.6.tgz
Already downloaded: /Users/...Library/Caches/Homebrew.jl/couenne-0.5.6.tgz
==> ./configure --prefix=/Users/..../.julia/v0.4/Homebrew/deps/usr/Cellar/couenne/0.5.6
Last 15 lines from /Users/..../Library/Logs/Homebrew/couenne/01.configure:
checking for f77... no
checking for g77... no
checking for pgf90... no
checking for pgf77... no
checking for ifc... no
checking for frt... no
checking for af77... no
configure: WARNING: Failed to find a Fortran compiler!
configure: Fortran compiler options are:
checking how to get verbose linking output from unavailable... configure: WARNING: compilation failed
checking for Fortran libraries of unavailable...
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program
See `config.log' for more details.
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/staticfloat/homebrew-juliadeps/issues
===========================[ ERROR: CoinOptServices ]===========================
LoadError: failed process: Process(
/Users/.../.julia/v0.4/Homebrew/deps/usr/bin/brew install staticfloat/juliadeps/Optimizationservices
, ProcessExited(1)) [1]while loading /Users/.../.julia/v0.4/CoinOptServices/deps/build.jl, in expression starting on line 69
====================================================[ BUILD ERRORS ]====================================================
WARNING: CoinOptServices had build errors.
Pkg.build("CoinOptServices")
deps/build.jl
scriptINFO: Package database updated
The text was updated successfully, but these errors were encountered: