I'm trying to install ImageMagick on a Mac with MacPorts. When I type the command:
sudo port install ImageMagick
I get the following error message:
Error: Port ImageMagick not found
Any ideas?
UPDATE: This seems to be an important error:
`Building glib2
Error: org.macports.build for port glib2 returned: command execution failed
Error: Failed to install glib2
Please see the log file for port glib2 for details:
....
Error: Processing of port ImageMagick failed`
What version MacOS?
Have you tried updating MacPorts first?
sudo port selfupdate
Then try
port list imagemagick
port info imagemagick
to make sure that the port can be found
Related
I have installed Autodesk Fusion 360 using homebrew on mac OS 12.5.1. I would now like to uninstall the cask, and am using the following command:
brew uninstall autodesk-fusion360
However the following error is returned:
Error: Failure while executing; /opt/homebrew/Caskroom/autodesk-fusion360/latest/Install\ Autodesk\ Fusion\ 360.app/Contents/MacOS/streamer --process uninstall --appid 73e72ada57b7480280f7a6f4a289729f --stream production --quiet exited with 1.
What can I do to fix the error, and uninstall the cask?
I am just starting with web3 development. I have installed WSL. Then I opened Ubuntu and installed Homebrew. When the installation is almost complete it asks for next steps which is providing the path and installing the dependencies. After providing the path when I ran this command "
sudo apt-get install build-essential" it gave me connection failed error as shown in the pic.
Then I turned Windows Defender off and tried again but didn't work.
Then I tried to paste the same url in my browser but it didn't work. My guess is that url is different or wrong, but I don't know.
I also tried running this command "sudo apt-get update" but it also gives the same error.
Same error with this as well "sudo apt-get install build-essential procps curl file git"
Any idea what to do about this?
Note:- Just wanted to let you know that When I check "brew -version" it shows me my version 3.4.11. And my Ubuntu version is 20.04.
I can't install ImageMagick on my Mac:
brew install ImageMagick
==> Downloading http://www.imagemagick.org/download/releases/ImageMagick-6.9.2-4.tar.xz
curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading http://ftp.nluug.nl/ImageMagick/ImageMagick-6.9.2-4.tar.xz
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "imagemagick"
Download failed: http://ftp.nluug.nl/ImageMagick/ImageMagick-6.9.2-4.tar.xz
After uninstalling brew and installing brew again this work fine thanks.
here is the command to install brew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
You have an outdated Homebrew. Run brew update then try again; ImageMagick is known for changing their URLs very frequently and break the old ones; so if you haven’t updated brew for a long time you might get build failures.
I was using Linuxbrew(which is a linux equivalent of homebrew) to install "ruby-build"
command used:- brew install ruby-build
and here is the error that i got,
Error: SHA1 mismatch
Expected: 2599afa039d2070bae9df6ce43da288b3a4adf97
Actual: 6d840506239fc0b47ad5c1b14bd5e3e0edbeaa60
Archive: /home/User1/.cache/Homebrew/makedepend-1.0.5.tar.bz2
To retry an incomplete download, remove the file above.
Later I tried deleting the makedepend-1.0.5.tar.bz2 file and run the above command again, still the error persists.
I been trying to install a port with the command sudo port install NAME_OF_PORT
The issue I am having with this particular port (OpenCV) is that it keeps asking me for dependencies with an error like the following:
Error: The following dependencies were not installed: libunwind-headers
llvm-3.1 llvm_select
Is there any way I can sudo port install NAME_OF_PORT with all of its dependencies with just one command?
Thanks a lot for your time, any tip much appreciated.
Try running sudo port -v selfupdate and then rerun sudo port install opencv. If that's not helping try running sudo port upgrade outdated to upgrade outdated dependencies.
Also take a look at this guide I wrote: Compile OpenCV (2.3.1+) for OS X Lion / Mountain Lion with Xcode