php5 port seems broken

RW rwmaillists at googlemail.com
Mon Jan 23 00:07:27 UTC 2012


On Sun, 22 Jan 2012 18:01:29 -0500
Tim Kellers wrote:

> On 1/22/12 5:35 PM, Tim Dunphy wrote:
> > Hello list,
> >
> >   I'm attempting to install php5 from my ports tree. I've attempted
> > the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the
> > 'latest stable' (5.2.17 located in /usr/ports/lang/php52). The
> > result is pretty much the same:

> > suhosin-patch-5.3.9-0.9.10.patch.gz. ===>   Giving up on fetching
> > files: php-5.3.9.tar.bz2 Make sure the Makefile and distinfo file
> > (/usr/ports/lang/php5/distinfo) are up to date.  If you are
> > absolutely sure you want to override this check, type "make
> > NO_CHECKSUM=yes [other args]". *** Error code 1
> >

> I just portupgraded my php5 this morning and I was able to fetch the 
> distfile without trouble.  It might just be a partially dled file and
> a checksum mismatch.

if you do a "make checksum" it will download the file or resume a
partial download before checking the hash.


> You can try (as root)
> rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2
> 
> and cd /usr/ports/lang/php5 && make clean && make install clean

or make distclean

> If that gets you past the checksum error, you should be able to build
> it successfully.

Probably the ports tree needs to be updated to pick-up an updated hash
value.


More information about the freebsd-questions mailing list