I'm trying to install homebrew on my mac verison 10.7.5, error msg comes up: The requested URL returned error: 404 Error: Failed to download resource "openssl" Download failed: https://raw.githubusercontent.com/DomT4/LibreMirror/master/Open help! how do i fix?
Try update your brew
brew update
I have encountered the same issue on my mac (10.11 El Captian)
It's seems OpenSSL want to force users and package management softwares to update by removing their previous version.
I agree with #Webb Lu on this one.
Try brew update a few times. If this isn't working then try the command brew doctor to correct any errors.
If this fixes the issue, you may want to then run brew upgrade to upgrade anything that is out of date. For some reason I had to reinstall Xcode last night to run the upgrade command. Not sure what happened there, but it seemed to work for me.
I don't know if this is the solution for your issue, but I figured I'd throw my hat in the ring ha ha.
Best of luck!
Related
I am trying to install Infer, a static analysis tool developed by Facebook. I tried following the tutorial for Mac at this link: https://fbinfer.com/docs/getting-started/. I used the "brew install infer" command, however, I keep getting the following error:
Error: infer: no bottle available!
You can try to install from source with:
brew install --build-from-source infer
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
I don't know what I'm doing wrong since I just followed the instruction. Please help! Thank you
Please take a look at my modified brew formula to install it on macOS 12 + Apple Silicon.
It works using commit 5fd2f95 (HEAD) and not v1.1.0.
I am trying to install Erlang in a Mac OS system with Mojave on it. However the installation hangs for no apparent reason:
$ asdf install erlang 22.2.8
asdf_22.2.8 is not a kerl-managed Erlang/OTP installation
The asdf_22.2.8 build has been deleted
Extracting source code
Building Erlang/OTP 22.2.8 (asdf_22.2.8), please wait...
I know the issue is not the network, as I have downloaded everything and the step that hangs forever is the Building step.
I have removed and re-installed both asdf and Erlang from scratch as well, but it didn't fix the issue.
I believe I have all necessary dependencies as well, otherwise the re-installation would have failed.
What can I do to fix this?
Go to ~/.asdf/plugins/erlang/kerl-home/builds/asdf_22.2.8 and look at the otp_build_22.2.8.log file. It should tell you what's going on.
Solution
Thanks to the post by #legoscia I went to ~/.asdf/plugins/erlang/kerl-home/builds/asdf_22.2.8 and looked at the otp_build_22.2.8.log while it was still being built.
By checking this I was actually able to find out that I had a problem with my brew installation, which in turn meant I was using a very outdated version of XCode and XTools.
By forcing an upgrade on my machine (and as a consequence fixing my broken brew installation), I was then able to smoothly run and install asdf install erlang.
I know this is the solution, but I will give credit to #legoscia, as without him/her I would not have been able to fix my issue.
I need to have carthage for running Appium tests.
While Appium community is still working on supporting XCode9.2, we need to rely on XCode 8.3.3
OS: MacOS High Sierria
XCode version: XCode 8.3.3
Java: 1.9
But when I run command brew install carthage, I am getting below error:
Error: Your Xcode (8.3.3) is too outdated.
Please refer below link, which implies that- XCode9 support for Appium is not yet rolled-out
[https://github.com/facebook/WebDriverAgent/issues/639][1]
Kindly suggest work around in meanwhile.
Thanks
1) First of all be sure to remove everything:
brew uninstall --force carthage
2) Then search the commit that you like from here:
https://github.com/Homebrew/homebrew-core/search?p=2&q=carthage&type=Commits&utf8=✓
3) in your case might be this:
https://github.com/Homebrew/homebrew-core/commit/f74d9ba598c9843552450abeb382cacd0e71d4c0
the one related to Carthage v0.24, which should be compatible with your requirement of working with Xcode 8.3.3.
4) then get the commit identifier f74d9ba598c9843552450abeb382cacd0e71d4c0 and run:
brew install https://github.com/Homebrew/homebrew-core/raw/f74d9ba598c9843552450abeb382cacd0e71d4c0/Formula/carthage.rb
I was having the same problem, but was unable to use brew install. I kept getting a 404 error when trying to do it.
To get an old version I cloned the Carthage project from the repo, changed my working copy to the specified version tag I needed and ran make install. This worked :D
I get the following error when trying to install valgrind on the version of macOS using brew:
valgrind: This formula either does not compile or function as expected
on macOS versions newer than Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.
I have tried to follow suggestions from all related posts on the issue, and even tried building valgrind using the ./configure option after downloading the source tarball. But that too fails with a gcc incompatibility error, which I am unable to overcome, despite following workaround suggestions on the Web.
Any help would be appreciated.
TIA
Vinod
brew install --HEAD valgrind seems to work now.
See this issue for more details.
You may wish to build it directly and install instead of using home-brew. I have created a port of valgrind 3.13.0 to work on macOS High Sierra (10.13.x). You can get it here: https://github.com/padiakalpesh/valgrind_3.13_high_sierra
Once you have obtained the source, run the following commands from inside the source directory:
./configure
make
sudo make install
When I try to install PHP7 with Homebrew I get this error
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/sbin/apxs follows:
apxs:Error: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.12.xctoolchain/usr/local/bin/apr-1-config not found!.
configure: error: Aborting
And the command I've used to install it is :
brew install homebrew/php/php70
Here's a screenshot of my terminal:
Terminal Screen shot
Does any one have a solution for this, knowing that I've searching the web for a solution without any luck
Try this if you're upgrading:
brew reinstall php70 --without-apache
otherwise if you're installing php70 for the first time, try the following::
brew install home-brew/php/php70 --without-apache
Faced a similar issue, found it under this GitHub issue: https://github.com/Homebrew/homebrew-php/issues/3283