Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2012 00:07:21 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: php5 port seems broken
Message-ID:  <20120123000721.0351bb6e@gumby.homeunix.com>
In-Reply-To: <4F1C9549.4090108@wallnet.com>
References:  <777bdd81-ab41-491c-a885-fd14fe2f0a7c@li289-212> <4F1C9549.4090108@wallnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120123000721.0351bb6e>