Wanting to do some image manipulation I realized my Linux scripts don’t run under Mac OS X, as ImageMagick is not installed via my MacPorts .
However installation failed:
$ sudo port install imagemagick ---> Computing dependencies for ImageMagick ---> Verifying checksum(s) for xorg-libX11 Error: Checksum (md5) mismatch for libX11-1.3.3.tar.bz2 Error: Checksum (sha1) mismatch for libX11-1.3.3.tar.bz2 Error: Checksum (rmd160) mismatch for libX11-1.3.3.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: xorg-libXext xorg-libX11 xorg-libXt xorg-libsm xorg-libice Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
Figuring that some of my packages may require upgrade:
$ sudo port selfupdate sudo port -d upgrade outdated
The problem is this all failed. Turning to the FAQ it seemed what I needed to do was remove and re-install the offending package receiving the checksum error via the following syntax.
$ sudo port clean --all <portname> $ sudo port install <portname>
It seemed I had to do this for several packages manually however in the end removing and installing a number of packages addressed the problem and now ImageMagick is happily running on Mac OS X
bash-3.2$ sudo port clean --all xorg-libX11 ---> Cleaning xorg-libX11 bash-3.2$ sudo port install xorg-libX11 ----> Computing dependencies for ImageMagick ---> Verifying checksum(s) for xorg-libX11 Error: Checksum (md5) mismatch for libX11-1.3.3.tar.bz2 Error: Checksum (sha1) mismatch for libX11-1.3.3.tar.bz2 Error: Checksum (rmd160) mismatch for libX11-1.3.3.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: xorg-libXext xorg-libX11 xorg-libXt xorg-libsm xorg-libice Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. bash-3.2$ sudo port clean --all libX11 Error: Port libX11 not found Before reporting a bug, first run the command again with the -d flag to get complete output. bash-3.2$ sudo port clean --all xorg-libX11 ---> Cleaning xorg-libX11 bash-3.2$ sudo port install xorg-libX11