Edit report at http://pear.php.net/bugs/bug.php?id=18211&edit=1
ID: 18211
Comment by: [email protected]
Reported By: bulk at janoszen dot hu
Summary: go-pear.php fails due to permission problems
Status: Open
Type: Bug
Package: pearweb_gopear
Operating System: Windows 7 64 bit
Package Version: 1.1.4
PHP Version: 5.3.5
Roadmap Versions:
New Comment:
After some debuging, I've figured out, that this can be fixed with
updating the 'Archive/Tar.php' to the current version in the
$bootstrap_files.
the same issue was mentioned before multiple times:
http://pear.php.net/bugs/bug.php?id=18201
http://pear.php.net/bugs/bug.php?id=18132 (the same solution was
suggested here)
I think fixing the Archive/Tar.php would be a quick fix, but on the long
run, some refactoring is really needed in the pearweb_gopear package.
it seems that the package maintainers abadoned this package. :(
here is a patch:
$bootstrap_files = array(
'PEAR.php' =>
'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/PEAR.php?view=co',
- 'Archive/Tar.php' =>
'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_2/Archive/Tar.php?view=co',
+ 'Archive/Tar.php' =>
'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/Archive_Tar-1.3.7/Archive/Tar.php?view=co',
'Console/Getopt.php' =>
'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/Console/Getopt.php?view=co',
);
Previous Comments:
------------------------------------------------------------------------
[2011-01-23 09:37:54] janoszen
Description:
------------
go-pear.php fails due to permission problem on Structures_Graph
Expected result:
----------------
PEAR install correclly
Actual result:
--------------
Downloading package: Structures_Graph....PHP Deprecated: Function
eregi() is deprecated in go-pear.php on line 1081
Error while opening
{temp/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html
} in write binary mode
PHP Warning: unlink(temp\Structures_Graph-1.0.4.tgz): Permission denied
in go-pear.php on line 1231
PHP Warning: rmdir(temp): Directory not empty in go-pear.php on line
1238
Note: after TopologicalSorter.html there are several line breaks and
tabs, I'm not sure if that's a part of the filename.
------------------------------------------------------------------------