PHP bug – Bad md5sums on PEAR source.

Bug #36002 bundled pear packages fail md5sum check during make install-pear-packages
Apparently it is a known bug since January, but has not warranted a new release, so the source tar-balls from php.net are still broken.

Basically if you try to compile PHP from the source some of the PEAR code will not be installed and you will get an error something like this:

[PEAR] Archive_Tar: bad md5sum for file
/usr/src/php/Archive/Tar.php

The problem is when someone packaged up this latest release of PHP, they forgot to update the md5sums for some of the PEAR packages, so they fail the check and subsequently fail to install.

The fix is to grab the latest PEAR packages that have the bad md5sum error above from the PEAR website:

http://pear.php.net/package/Archive_Tar
http://pear.php.net/package/Console_Getopt/
http://pear.php.net/package/HTML_Template_IT/

Then recompile; the install should now pass all of its checks.

This entry was posted in General and tagged . Bookmark the permalink.

4 Responses to PHP bug – Bad md5sums on PEAR source.

  1. enygma says:

    As an FYI to anyone else checking this post out – the problem has been corrected in the latest CVS snapshot (as of June 11th).

    Check out the bug link again…

  2. augie says:

    Right, I just would have expected a new release to address this problem. I mean it’s more than just a little bit annoying as a Sys. Admin. and a package maintainer to have to track down a known bug that has been sitting around since January; especially when the fix is in CVS, but no one has decided to push out a new release to just fix the problem.

    Meanwhile everyone who has grabbed the tar-ball from php.net since January has received essentially a broken install.

  3. mxay says:

    where’s the bug link?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>