Replies: 3 comments 1 reply
-
My guess is that Homebrew deems your system's compiler setup to be too old or non-existent, which is why it's installing According to our docs here, your system should be new enough that Homebrew should not be installing these things, but I would suspect that this is the general direction to investigate towards. |
Beta Was this translation helpful? Give feedback.
-
Homebrew for Linux requires GCC 5 to be installed (but is able to install its own if you have GCC 4.7.0 or later). This is a runtime dependency because of the linkage to |
Beta Was this translation helpful? Give feedback.
-
Oh, that makes more sense. Before this, I uninstalled So it's a legit installation, but a dependency of homebrew, not of the formula I'm installing directly. Seems like more of a UX issue then. Could it say something like
or
|
Beta Was this translation helpful? Give feedback.
-
When I
install
orupgrade
various formulae, brew tries to install glibc, gmp, [email protected], mpfr, libmpc, and gcc@5 as dependencies, even though they are not dependencies for the formula in question.There's a full example in my gist, but here's the interesting part:
This happens with various formulae, with different parameters. Here's vim, which does have other dependencies, and builds from source:
I'm aware that my setup is nonstandard (see gist), which is why I didn't go straight to an issue for this, but I'd appreciate any help finding the cause and/or solution, and I'll happily submit a patch for it if appropriate.
Beta Was this translation helpful? Give feedback.
All reactions