Bug #16606 [Fbk]: pear install does not work
| From: | izi@php.net | Date: | Wed, 23 Sep 2009 16:36:30 +0000 |
| Subject: | Bug #16606 [Fbk]: pear install does not work | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1710@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16606&edit=1
ID: 16606
Updated by: izi@php.net
Reported By: internationils at gmx dot net
Summary: pear install does not work
Status: Feedback
Type: Bug
Package: PEAR
Operating System: Linux - Ubuntu Karmic
Package Version: Unknown
PHP Version: 5.2.10
Assigned To: ashnazg
Roadmap Versions:
New Comment:
I have investigated a bit more on this bug, it seems it's related to
zlib...
A quick fix for those who can't install packages, try:
$ pear install -Z Your_Package
This disables the compression and it works for me.
Previous Comments:
------------------------------------------------------------------------
[2009-09-23 15:55:10] ashnazg
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: ashnazg
Two things that grabs my attention are these:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20060613+lfs/suhosin.so' -
/usr/lib/php5/20060613+lfs/suhosin.so: cannot open shared object file:
No such file or directory in Unknown on line 0
Notice: file_exists(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1510
Now, that looks like the Suhosin extension is failing to load.
Further, isn't it Suhosin that *changes* the behavior of some PHP
functions, like file_exists() and is_file() ?
I wonder if resolving Karmic's PHP setup to where it does load
suhosin.so will solve the remaining issue... izi, can't you try this
out?
------------------------------------------------------------------------
[2009-09-23 15:51:35] ashnazg
-Operating System: Linux kfunambol 2.6.31-10-generi
+Operating System: Linux - Ubuntu Karmic
-PHP Version: 5.2.0
+PHP Version: 5.2.10
------------------------------------------------------------------------
[2009-09-21 14:47:30] inkubux
I do have the same issue I can't install anything on ubuntu karmic,
herese my ouput:
sudo sudo pear -vvv install Net_FTP
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20060613+lfs/suhosin.so' -
/usr/lib/php5/20060613+lfs/suhosin.so: cannot open shared object file:
No such file or directory in Unknown on line 0
Notice: file_exists(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1510
Notice: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1520
Notice: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1520
Downloading "http://pear.php.net/get/Net_FTP-1.3.7.tgz"
downloading Net_FTP-1.3.7.tgz ...
Starting to download Net_FTP-1.3.7.tgz (31,749 bytes)
.........done: 31,749 bytes
Warning: unlink(/tmp/glibctest1fGYd5): No such file or directory in
System.php on line 206
------------------------------------------------------------------------
[2009-09-14 21:11:58] nils
Here's what pear invokes:
sudo pear -vvv upgrade
/usr/bin/php -C -q -d include_path=/usr/share/php -d output_buffering=1
-d variables_order=EGPCS -d open_basedir= -d safe_mode=0 -d
register_argc_argv=On -d auto_prepend_file= -d auto_append_file=
/usr/share/php/pearcmd.php -vvv upgrade
------------------------------------------------------------------------
[2009-09-14 11:08:59] nils
sudo pear upgrade PEAR
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
.............................................................done:
291,634 bytes
... and then the command prompt again.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=16606
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16606&edit=1