Re: trouble with go-pear.phar install
| From: | Metzger, Brendan | Date: | Wed, 09 Mar 2011 16:08:39 +0000 |
| Subject: | Re: trouble with go-pear.phar install | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30994@lists.php.net to get a copy of this message | ||
Hey Matthew,
I probably should have prefaced that I tried curl, as well as wget, and a cut and paste from a few
different browsers just in case. I'm seeing the bizarre characters in each instance. Could
someone verify that the install script at line 1236 looks appropriate?
Here is a shortcut to the line causing the error and next line showing the weird characters:
curl -s http://pear.php.net/go-pear.phar | sed -n
'1236,1239p'
There is also some mysterious characters at the end of the script too...
curl -s http://pear.php.net/go-pear.phar | tail -n 2
Thanks,
Brendan
On Mar 7, 2011, at 6:40 PM, Matthew Fonda wrote:
Hi Brendan,
One possible thing that may cause this is if you went to
http://pear.php.net/go-pear.phar and copy/pasted the
content into a
file called go-pear.phar (as opposed to going to
http://pear.php.net/go-pear.phar and using the
"Save As" option in
your browser). Another alternative may be to try fetching from the
command line using something like `curl -OL
http://pear.php.net<http://pear.php.net/>/go-pear.phar`.
Best Regards,
--Matthew