Warning: Building … from source as the bottle needs #1125
Replies: 3 comments 5 replies
-
Sometimes when you build software, it stores the installed prefix in the binary. Such software are referred to as being "not relocatable". Our bottles are built using the default prefix, so when you install a formula which doesn't have a relocatable bottle then you have no choice but to build it from source. This is what is happening in your case - you have installed a formula which is not relocatable so it instead builds from source. We warn you because:
We are hoping to improve the relocatablity of bottles (Homebrew/brew#10846), but it's not a trivial task.
For the most part, the final install should be functionally the same as installing from a bottle on the default prefix. Maybe the build will detect some extra installed libraries and use them to enable some features (this is called "opportunistic linking"). |
Beta Was this translation helpful? Give feedback.
-
As an aside, why would you want to back up homebrew binaries? You can always redownload them. Personally I use |
Beta Was this translation helpful? Give feedback.
-
It is a pity that work on Homebrew/brew#10846 has been stopped. Because of that one cannot really use homebrew installed in a non-default directory, e.g. the users home directory. But this makes it impossible to use homebrew without sudo, because |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Are the
Warning: Building … from source as the bottle needs
messages really just warnings or are they errors, rendering the packages unusable?For example, I get a lot of warnings from Homebrew like this…
I see these more now than in years past. I guess Homebrew is doing more checking than it was before.
Some background on my choice of Homebrew directories:
I'm working on a computer owned by my employer. They will not include my changes to "/usr/local" in backups. So, I created "/Local" and I symlinked "/usr/local" to it. They will backup my "/Local", so I'm happy.
When I started using Homebrew, I saw the warnings about changing the various directories. I did so because I didn't want to take a chance that the "/usr/local" → "/Local" symlinks would cause problems with its operations. So I decided to specify the actual directories rather than the symlinks.
Beta Was this translation helpful? Give feedback.
All reactions