Feedback on go-pear using latest PHP4-dev on Windows
| From: | Stefan Neufeind | Date: | Sat, 14 Feb 2004 13:11:59 +0000 |
| Subject: | Feedback on go-pear using latest PHP4-dev on Windows | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-529@lists.php.net to get a copy of this message | ||
Hi,
I just tried installing PEAR using go-pear.bat on Windows from latest
PHP4-dev-snapshop (Feb 14, 2004 09:30 GMT). To provide another
"possible error" I installed to "C:\Programme\php" instead of the
standard "C:\php4". But this worked without problems.
Refering to the Getopt-problem: Just exchaning the getopt-package
didn't help much. The install ran smooth, with a package-install-list
saying "ok" for step ... but it didn't actually install a file.
Removing the complete go-pear-bundle-directory helped.
Digging deeper (and searching in the wrong directions :-)) I found
out that the problems were caused by the separate "Getopt.php" that
ships in the go-pear-bundle-directory. The updated Console_Getopt-
package that I copied into the gopear-bundle-directory was used to
install the Console_Getopt-package. But Getopt.php inside the gopear-
bundle-dir was used during install ... and for some reason causing a
problem. So if you just remove Getopt.php from the gopear-bundle-
directory and leave everything else in place it will download the
latest Getopt.php-file from CVS separately (URL hardcoded into go-
pear.php) and works without problems. After that the initial PEAR-
installation worked like a charme.
Manually doing a "pear install phpDocumentor-1.2.1" worked. Doing the
corresponding "pear upgrade-all" also updated to version 1.2.3
(latest stable) without a problem.
"pear uninstall Archive_Tar" failed due to dependencies -> correct.
"pear uninstall --nodeps Archive_Tar" worked -> correct.
after that copying back "Archive/" I was able to install it again
without a problem.
So for now I think pear-installer could be declared working here.
Only error is that apart from exchanging the *package* Console_Getopt
you currently also have to exchange Getopt.php that's shipped
separately. Or could the installer uncompress it (using Archive_Tar)
from the Console_Getopt archive?
Regards,
Stefan