Giter Site home page Giter Site logo

Comments (6)

mxcl avatar mxcl commented on August 27, 2024

I believe the GUI popups are unavoidable, I've seen it outside of Homebrew, it's usually fine. Configure does a lot of stuff and plenty of it is writing little programs that crash, and the crash means the configure failed. etc.

But indeed, I don't think glib and gettext are building yet, or if they are, it's badly. I added them a long time ago because I wanted wireshark and it wasn't easy so I just commited what was there.

I'll check them out again, I'm sure we'll get to the bottom of it.

I'll leave this open when we finish anyway because the GUI popups suck and maybe there is a solution. I gotta say, I never saw it with macports.

from legacy-homebrew.

adamv avatar adamv commented on August 27, 2024

More info, brewing wget is similarly wonky. It's the configure's use of xgettext, which links lib-gettext-something, which defines an extern char ** _environ which doesn't exist on OS X. Some sort of patch to gettext might be in order, if we want to "go there"; I don't particularly want to go there, so much as being able to brew wget. (I suspect that if I didn't have gettext installed, then wget would brew fine and just not use gettext...)

from legacy-homebrew.

mxcl avatar mxcl commented on August 27, 2024

This I don't get as I can brew both wget and glib just fine, although I do get the GUI popup error -- but it doesn't stop the brew.

Do they brew successfully if you remove GNU gettext?

from legacy-homebrew.

adamv avatar adamv commented on August 27, 2024

So it turns out that, for me at least, a ton of stuff breaks during compile if gettext is linked, and works if I unlink it first (but then have to remember to re-link it for sshfs.) The errors seem entirely due to the xgettext and msgfmt helper apps being invoked doing ./configure or make or make install.

from legacy-homebrew.

mxcl avatar mxcl commented on August 27, 2024

I think it's clear we need to keep gettext unlinked by default. Handy that Homebrew can do this :) Wonder what Macports does?

from legacy-homebrew.

adamv avatar adamv commented on August 27, 2024

This patch fixed the issue for me on 10.5 and 10.6. Woot!
http://github.com/drodriguez/homebrew/commit/b653545603d1d823ebf524f9cb0e040cf39dd050

from legacy-homebrew.

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.