Skip to content

Instantly share code, notes, and snippets.

@lyonsun
Created April 26, 2014 16:48
Show Gist options
  • Save lyonsun/11324922 to your computer and use it in GitHub Desktop.
Save lyonsun/11324922 to your computer and use it in GitHub Desktop.
can't install php V5.4 with mcrypt extension using mac port.
lyon:~ Lyon$ sudo port install php54-mcrypt
---> Computing dependencies for php54-mcrypt
---> Dependencies to be installed: php54
---> Fetching archive for php54
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports.
---> Attempting to fetch php54-5.4.27_0+libedit.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/php54
---> Attempting to fetch php54-5.4.27_0+libedit.darwin_13.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/php54
---> Installing php54 @5.4.27_0+libedit
---> Activating php54 @5.4.27_0+libedit
To customize php54, copy /opt/local/etc/php54/php.ini-development (if this is a development server) or /opt/local/etc/php54/php.ini-production (if this is a production server) to
/opt/local/etc/php54/php.ini and then make changes.
---> Cleaning php54
---> Fetching archive for php54-mcrypt
---> Attempting to fetch php54-mcrypt-5.4.27_0.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/php54-mcrypt
---> Attempting to fetch php54-mcrypt-5.4.27_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php54-mcrypt
---> Attempting to fetch php54-mcrypt-5.4.27_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/php54-mcrypt
---> Fetching distfiles for php54-mcrypt
---> Attempting to fetch php-5.4.27.tar.bz2 from http://si.php.net/get/php-5.4.27.tar.bz2/from/this/mirror?dummy=
---> Attempting to fetch php-5.4.27.tar.bz2 from http://br.php.net/get/php-5.4.27.tar.bz2/from/this/mirror?dummy=
---> Verifying checksums for php54-mcrypt
Error: Checksum (md5) mismatch for php-5.4.27.tar.bz2
Error: Checksum (rmd160) mismatch for php-5.4.27.tar.bz2
Error: Checksum (sha256) mismatch for php-5.4.27.tar.bz2
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
The file has been moved to: /opt/local/var/macports/distfiles/php5/php-5.4.27.tar.bz2.html
Error: org.macports.checksum for port php54-mcrypt returned: Unable to verify file checksums
Please see the log file for port php54-mcrypt for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php54-mcrypt/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment