Giter VIP home page Giter VIP logo

Comments (12)

MikeMcQuaid avatar MikeMcQuaid commented on May 24, 2024

You need m4 installed.

from legacy-linuxbrew.

dcardosods avatar dcardosods commented on May 24, 2024

Thanks!!! Now it works.

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 24, 2024

@MikeMcQuaid Should autoconf depend_on m4?

from legacy-linuxbrew.

MikeMcQuaid avatar MikeMcQuaid commented on May 24, 2024

@sjackman Really there should be a either requirement or code in Linuxbrew to check the existence of this stuff.

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 24, 2024

For packages that are provided by the base Mac OS X install, I had the idea adding, for example, the depends_on 'm4' to autoconf, and keeping a list of which packages are provided on OS X (such as m4) so as to mark those dependencies as satisfied. Thoughts?
@MikeMcQuaid @adamv @jacknagel @mistydemeo

from legacy-linuxbrew.

MikeMcQuaid avatar MikeMcQuaid commented on May 24, 2024

I think this should be done in reverse; add a requirement or other code somewhere in Linuxbrew (and Winbrew) which contains dependencies that don't come with those systems to match them with what comes with OSX. OSX will always be the primary platform so it doesn't make sense to add such things to the primarily OSX autoconf.

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 24, 2024

The packages need to know their own dependencies (that autoconf depends on m4 for example). It makes more sense I think to have that information in the individual formula and so, I think, in the base Homebrew. Whether that dependency is satisfied by the OS is the next question. We can hardcode that list for OS X. For Linux it will vary depending on the Linux distribution and which packages are installed, and so will likely have to be a dynamic test.

from legacy-linuxbrew.

mistydemeo avatar mistydemeo commented on May 24, 2024

I think the better solution for Linuxbrew would simply be to specify the dependencies in the formulae downstream, like I do in Tigerbrew when necessary. I add a depends_on 'homebrew/dupes/m4' if MacOS.version < :leopard in autoconf, for example.

from legacy-linuxbrew.

OmeGak avatar OmeGak commented on May 24, 2024

I just tried to install ruby-build and the m4 dependency is still missing. Any plan to specify these system dependencies as @sjackman or @mistydemeo were proposing?

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 24, 2024

Fixed. Thanks, Alejandro.

from legacy-linuxbrew.

OmeGak avatar OmeGak commented on May 24, 2024

Thanks for the quick fix! Linuxbrew is getting really stable. 😃

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 24, 2024

Thanks! It has come a long way.

from legacy-linuxbrew.

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.