Re: phpfarm bug
| From: | Christian Weiske | Date: | Wed, 01 Sep 2010 13:16:24 +0000 |
| Subject: | Re: phpfarm bug | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30721@lists.php.net to get a copy of this message | ||
Hello Ferenc,
> I've just tried to install php 5.3.3 from the instructions of
> http://cweiske.de/tagebuch/Introducing%20phpfarm.htm
> it seems that there is a problem with the compile.sh
>
> #museum failed, now we try real download
> url="
>
> http://www.php.net/get/php-$version.tar.bz2/from/this/mirror"
> wget -P "$bzipsdir" "$url"
>
> if the package doesn't found on the museum link, the script tries to
> fetch it from php.net, but the wget will save that file as mirror,
> and the script will abort on the next if, when it checks the
> existence of the $srcfile
>
> the fix is trivial:
>
> wget -P "$bzipsdir" -O $srcfile "$url"
Thanks for the hint. Fixed in svn:
http://svn.php.net/viewvc/pear/ci/phpfarm/trunk/src/compile.sh?r1=296030&r2=302976
My wget always saves the file under the correct name, maybe
some wget versions have a bug there.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-