-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Issue on Mac #8
Comments
What version of OS X are you on? Try |
I am using OS X 10.9.2. Pkg.update() gives (deleting irrelevant output) INFO: Upgrading Ipopt: v0.0.0 => v0.1.1 INFO: Building Ipopt ================================[ ERROR: Ipopt ]================================ Provider PackageManager failed to satisfy dependency libipopt at /Users/jtfox/.julia/v0.2/Ipopt/deps/build.jl:81 On Tue, May 6, 2014 at 7:29 PM, Miles Lubin notifications@github.com wrote:
|
Try this in Julia and let us know the output:
|
In Julia 0.2.1, _julia> _dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt") ERROR: could not load module
On Tue, May 6, 2014 at 8:07 PM, Miles Lubin notifications@github.comwrote:
|
CC @staticfloat |
Hmmm. That's not good. I'm honestly surprised this worked as long as it did. I've updated the bottle and formula, please |
I did so. If I do Pkg.build("Ipopt") I get INFO: Building Homebrew HEAD is now at c588ffb Remove git rebasing code that slipped through HEAD is now at af5f20d Update gfortran bottle to correctly change install INFO: Building Ipopt ================================[ ERROR: Ipopt Provider PackageManager failed to satisfy dependency libipopt at /Users/jtfox/.julia/v0.2/Ipopt/deps/build.jl:81 ================================================================================ ================================[ BUILD ERRORS WARNING: Ipopt had build errors.
================================================================================ On Wed, May 7, 2014 at 12:26 AM, Elliot Saba notifications@github.comwrote:
|
Could you rerun |
Could you also run I'm typing on my phone so I may have mispelled something. |
_julia> _dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt") ERROR: could not load module
On Wed, May 7, 2014 at 7:45 AM, Miles Lubin notifications@github.comwrote:
|
There is no gfortran directory under Cellar, i.e. there is /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/ but no further gfortran. On Wed, May 7, 2014 at 9:15 AM, Elliot Saba notifications@github.comwrote:
|
Maybe
is needed? |
This added a gfortran directory where there was none before. Running the /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib: /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libgfortran.3.dylib /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libquadmath.0.dylib /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2/gfortran/lib/libgcc_s.1.dylib Running the previous dlopen command gives _julia> _dlopen("/Users/jtfox/.julia/v0.2/Homebrew/deps/usr/lib/libipopt") Ptr{Void} @0x0000000107febaf0 I then reran Pkg.build("Ipopt") and got _julia> _Pkg.build("Ipopt") INFO: Building Homebrew HEAD is now at c588ffb Remove git rebasing code that slipped through HEAD is now at af5f20d Update gfortran bottle to correctly change install INFO: Building Ipopt I then ran the test file hs071.jl and got _julia> _include("hs071.jl") ERROR: createProblem not defined
at /Users/jtfox/Documents/Julia exampls/hs071.jl:107 On Wed, May 7, 2014 at 10:06 AM, Miles Lubin notifications@github.comwrote:
|
It seems like the install was successful. Try starting a new Julia session. |
It worked, thanks a lot! I hope you can update the installation On Wed, May 7, 2014 at 10:26 AM, Miles Lubin notifications@github.comwrote:
|
Great! I think the original issue has been fixed, so a clean reinstall should "just work" at this point. |
Awesome, glad it worked out. Sometimes we have to try kicking it a few times after implementing a fix, but clean installs should be okay now. It's just the inconsistent state of a failed installation being fixed that can be tricky sometimes. |
I am a novice Julia user on all dimensions. Ipopt did not install properly on my Mac, for either 0.2.1 or 0.3 pre-release Julia binaries. Here is the output for 0.2.1:
julia> Pkg.add("Ipopt")
INFO: Cloning cache of Ipopt from git://github.com/JuliaOpt/Ipopt.jl.git
INFO: Cloning cache of MathProgBase from git://github.com/JuliaOpt/MathProgBase.jl.git
INFO: Installing Ipopt v0.0.0
INFO: Installing MathProgBase v0.1.6
INFO: Building Homebrew
HEAD is now at c588ffb Remove git rebasing code that slipped through
HEAD is now at 53d9d57 Bump coinmp bottle
INFO: Building Ipopt
==> Installing ipopt dependency: gfortran
==> Downloading http://archive.org/download/julialang/bottles/gfortran-4.8.2.mav
################################################################### 100.0%
==> Pouring gfortran-4.8.2.mavericks.bottle.tar.gz
🍺 /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/gfortran/4.8.2: 5 files, 3.4M
==> Installing ipopt
==> Downloading http://archive.org/download/julialang/bottles/ipopt-3.11.7.snow_
################################################################### 100.0%
==> Pouring ipopt-3.11.7.snow_leopard_or_later.bottle.1.tar.gz
🍺 /Users/jtfox/.julia/v0.2/Homebrew/deps/usr/Cellar/ipopt/3.11.7: 64 files, 5.6M
================================[ ERROR: Ipopt ]================================
Provider PackageManager failed to satisfy dependency libipopt
at /Users/jtfox/.julia/v0.2/Ipopt/deps/build.jl:61
================================[ BUILD ERRORS ]================================
WARNING: Ipopt had build errors.
Pkg.build(pkg)
deps/build.jl
scriptINFO: REQUIRE updated.
The text was updated successfully, but these errors were encountered: