Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 18:01:29 -0500
From:      Tim Kellers <timothyk@wallnet.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: php5 port seems broken
Message-ID:  <4F1C9549.4090108@wallnet.com>
In-Reply-To: <777bdd81-ab41-491c-a885-fd14fe2f0a7c@li289-212>

index | next in thread | previous in thread | raw e-mail

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:
>
> [root@LBSD2:/usr/ports/lang/php5] #make install
> ===>   Vulnerability check disabled, database not found
> ===>   License check disabled, port has not defined LICENSE
> ===>   Found saved configuration for php5-5.3.9
> ===>   Extracting for php5-5.3.9
> =>  SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
> =>  SHA256 Checksum OK for suhosin-patch-5.3.9-0.9.10.patch.gz.
> ===>   Refetch for 1 more times files: php-5.3.9.tar.bz2
> ===>   Vulnerability check disabled, database not found
> ===>   License check disabled, port has not defined LICENSE
> ===>   Found saved configuration for php5-5.3.9
> =>  php-5.3.9.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
> =>  Attempting to fetch http://dk.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://dk.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://de.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://de.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://es.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://es.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://fi.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://fi.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://fr.php.net/distributions/php-5.3.9.tar.bz2
> ===>   Vulnerability check disabled, database not found
> ===>   License check disabled, port has not defined LICENSE
> ===>   Found saved configuration for php5-5.3.9
> =>  SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
> =>  SHA256 Checksum OK for 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
>
> Stop in /usr/ports/lang/php5.
> *** Error code 1
>
> Stop in /usr/ports/lang/php5.
> *** Error code 1
>
> Stop in /usr/ports/lang/php5.
>
>
> I was just wondering if anyone might have a guess as to why this wasn't working?
>
> thanks
> tim
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.

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

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

Tim Kellers


help

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