Giter VIP home page Giter VIP logo

Comments (14)

joehuchette avatar joehuchette commented on August 16, 2024

I'm also seeing this, but it should be reported at homebrew-juliadeps like the error message states. I'll open an issue there.

from ipopt.jl.

mlubin avatar mlubin commented on August 16, 2024

Not sure if yosemite is supported yet: https://groups.google.com/d/msg/julia-users/7D0O6ltoWjs/-RvizlHnbvkJ
CC @staticfloat

from ipopt.jl.

mlubin avatar mlubin commented on August 16, 2024

@kofron, in the meantime, if you install gfortran you should be able to build Ipopt from source.

from ipopt.jl.

IainNZ avatar IainNZ commented on August 16, 2024

Yeah I think this is Yosemite related, its trying to compile it

from ipopt.jl.

kofron avatar kofron commented on August 16, 2024

@mlubin Ipopt builds fine - but julia won't pick it up. When I do Pkg.add("Ipopt") it thinks it needs to build the homebrew-juliadeps tap to satisfy the dep, even though Ipopt is built and linked on my system.

from ipopt.jl.

mlubin avatar mlubin commented on August 16, 2024

@kofron, the ipopt from homebrew-science isn't compatible with julia for a number of reasons. You can build the julia version from source with Pkg.build("Ipopt") if gfortran is installed.

from ipopt.jl.

mlubin avatar mlubin commented on August 16, 2024

If gfortran is installed and you still get the above error, then something weird is going on.

from ipopt.jl.

kofron avatar kofron commented on August 16, 2024

@mlubin thats exactly my point - gfortran is installed. it seems like there's something pathological going on, but I can't pinpoint it.

from ipopt.jl.

mlubin avatar mlubin commented on August 16, 2024

Try commenting out the four lines under # OS X in src/build.jl and trying again. That will bypass Homebrew.jl and just use the simple build script.

from ipopt.jl.

kofron avatar kofron commented on August 16, 2024

@mlubin That did work, thanks.

from ipopt.jl.

staticfloat avatar staticfloat commented on August 16, 2024

@kofron unfortuantely, things are going to be a little hairy until I can get yosemite bottles built. Source builds from Homebrew.jl "should" work, but I can't guarantee it. :P Glad you've got it working so far though.

from ipopt.jl.

staticfloat avatar staticfloat commented on August 16, 2024

As a short aside, I figured out what was going on here. It's not yet fixed, but at least I know what the problem is.

First off, Homebrew does a lot of things to shield installs from external compilers. Unless you declare depends_on :fortran inside of your formula, it will actually shield your formula from gfortran from the gcc homebrew package. I'm not sure what the wisdom behind that is, but I'm sure they have their reasons. Unfortunately, that means that even though I had declared :fortran as a build-time dependency, even when installing the bottle-only version, it still tries to install a fortran compiler, which means that the user has to compile gcc from scratch just to install ipopt! What a waste of time and greenhouse gases. So my workflow here is to uncomment this line when building a new version of ipopt, then comment it again when I have bottles. I'll have bottles for Yosemite as soon as I get the buildslave setup, which is currently running in the background. (exciting!)

EDIT: I may have a strange definition of exciting....

from ipopt.jl.

mlubin avatar mlubin commented on August 16, 2024

@staticfloat, is this issue resolved now?

from ipopt.jl.

staticfloat avatar staticfloat commented on August 16, 2024

Yes, this should be resolved now.

from ipopt.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.