From: Ferenc Kovacs on
Hi.

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"

Tyrael
From: Christian Weiske on
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 =-