Edit report at http://bugs.php.net/bug.php?id=53821&edit=1

 ID:                 53821
 Comment by:         bulk at janoszen dot hu
 Reported by:        tyra3l at gmail dot com
 Summary:            go-pear installs PEAR 1.9.0 instead of 1.9.1
 Status:             Open
 Type:               Bug
 Package:            Windows Installer
 Operating System:   Windows
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

I tried to extract the URL's the PEAR installer accesses and came up
with nothing. My installation log can be found here:
http://pastebin.com/4yMJQiQP


Previous Comments:
------------------------------------------------------------------------
[2011-01-23 17:09:48] bulk at janoszen dot hu

tyra3l at gmail dot com: by not affected I mean it will not be
reproducible on a standard install 32 bit platform. Sorry, wrong
wording.

------------------------------------------------------------------------
[2011-01-23 13:11:39] tyra3l at gmail dot com

What do you mean by not affected?

AFAIK the installed PEAR version has nothing to do with the version of
the OS(be 

32 or 64 bit), so this bug affects all windows versions.

if you are talking about the referenced PEAR bug ( 

http://pear.php.net/bugs/bug.php?id=16644 ) then I think thats not true
also.

the source of the problem is the incorrect escaping of the shell
arguments, which 

isn't related to the windows version, the only thing that makes the bug
appear is 

that you have spaces in your installation path, or not.

feel free to correct me though.

------------------------------------------------------------------------
[2011-01-23 12:45:42] bulk at janoszen dot hu

Please note, that this bug only surfaces on 64 bit Windows versions, 32
bit versions are not affected.

------------------------------------------------------------------------
[2011-01-23 12:38:03] tyra3l at gmail dot com

Description:
------------
yesterday I had a discussion with my friend on twitter, and he said,
that the 

pear installer is broken on windows 7.

we tracked down, that his problem is a known bug and fixed in PEAR
1.9.1, caused 

by the installation path containing spaces.

http://pear.php.net/bugs/bug.php?id=16644



so it shouldn't happen right? but it does, because the go-pear shipped
with the 

latest windows binaries is old, and tries to install the 1.9.0 version.

please update that to 1.9.1



there are other pear packages that needs updated, so maybe it would be a
good 

idea to bump them also:



Archive_Tar-1.3.3 vs Archive_Tar-1.3.7

Console_Getopt-1.2.3 vs Console_Getopt-1.3.0

Structures_Graph-1.0.2 vs Structures_Graph-1.0.4



on the long term, maybe it would be a good idea, to modify the installer
to 

fetch the latest versions on-the-fly as part of the installation
process, for 

now, maybe we could add a step for upgrading(or telling the people to
upgrade) 

the packages to the go-pear.bat installation process.

Test script:
---------------
fetch the windows binary, run go-pear.bat and after the successful
install, check pear version, pear list

Expected result:
----------------
should list the latest versions of the installed packages

Actual result:
--------------
now it lists the old packages


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53821&edit=1

Reply via email to