ID: 38541 Updated by: [EMAIL PROTECTED] Reported By: axel dot azerty at laposte dot net -Status: Assigned +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows XP SP2 PHP Version: 4.4.4 Assigned To: edink New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-08-22 08:34:25] axel dot azerty at laposte dot net Replacing the go-pear.php script by the one found at http://go-pear.org solved this problem. ------------------------------------------------------------------------ [2006-08-22 08:33:10] axel dot azerty at laposte dot net Here's the installation log : C:\Documents and Settings\Administrateur\Mes documents\php-4.4.4-Win32\php-4.4.4-Win32>go-peatr 'go-peatr' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes. C:\Documents and Settings\Administrateur\Mes documents\php-4.4.4-Win32\php-4.4.4-Win32>go-pear.bat Welcome to go-pear! Go-pear will install the 'pear' command and all the files needed by it. This command is your tool for PEAR installation and maintenance. Use 'php PEAR\go-pear.php local' to install a local copy of PEAR. Go-pear also lets you download and install the PEAR packages bundled with PHP: MDB2, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit. If you wish to abort, press Control-C now, or press Enter to continue: HTTP proxy (http://user:[EMAIL PROTECTED]:port), or Enter for none:: 'C:\Documents' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes. *WARNING* We found php.exe under C:\Documents and Settings\Administrateur\Mes documents\php-4.4.4-Win32\php-4.4.4-Win32\cli\php.ex e, it uses an unknown SAPI. PEAR commandline tool has not been tested with it, if you have a CLI (or CGI) php.exe available, we strongly recommand to use it. Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation prefix : C:\Documents and Settings\Administrateur\Mes documents\php-4.4.4-Win32\php-4.4.4-Win 32 2. Binaries directory : $prefix 3. PHP code directory ($php_dir) : $prefix\pear 4. Documentation base directory : $php_dir\docs 5. Data base directory : $php_dir\data 6. Tests base directory : $php_dir\tests 7. Temporary files directory : $prefix\temp 8. php.exe path : C:\Documents and Settings\Administrateur\Mes documents\php-4.4.4-Win32\php-4.4.4-Win 32\cli\php.exe 1-8, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: MDB2, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit. Would you like to install these as well? [Y/n] : Loading zlib: ok Using local package: PEAR-stable......ok Using local package: Archive_Tar-stable....ok Using local package: Console_Getopt-stable....ok Using local package: XML_RPC-stable....ok Bootstrapping: PEAR...................(remote) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- ViewVC :: http://www.viewvc.org/ --> <head> <title>ViewVC Exception</title> </head> <body> <h3>An Exception Has Occurred</h3> <h4>Python Traceback</h4> <p><pre> Traceback (most recent call last): File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 3623, in main request.run_viewvc() File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 388, in run_viewvc self.view_func(self) File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 2122, in view_checkout fp, revision = request.repos.openfile(path, rev) File "/usr/local/viewvc-1.1-dev/lib/vclib/bincvs/__init__.py", line 134, in openfile filename, revision = _parse_co_header(fp) File "/usr/local/viewvc-1.1-dev/lib/vclib/bincvs/__init__.py", line 549, in _parse_co_header raise COMalformedOutput, "Unable to find revision in co output stream" COMalformedOutput: Unable to find revision in co output stream </pre></p> </body> </html> ok Bootstrapping: Archive_Tar............(local) ok Bootstrapping: Console_Getopt.........(remote) ok Downloading package: MDB2.............ok Downloading package: Net_Socket.......ok Downloading package: Net_SMTP.........ok Downloading package: Mail.............ok Downloading package: XML_Parser.......ok Downloading package: PHPUnit..........ok Fatal error: Undefined class name 'pear' in C:\Documents and Settings\Administrateur\Mes documents\php-4.4.4-Win32\php-4 .4.4-Win32\PEAR\go-pear.php on line 747 Appuyez sur une touche pour continuer... ------------------------------------------------------------------------ [2006-08-22 08:27:52] [EMAIL PROTECTED] >I had a problem installing pear on Windows >The go-pear.php from the 4.4.4 version didn't work. Please, be more specific. "problem" and "didn't work" do not add any information. ------------------------------------------------------------------------ [2006-08-22 08:23:16] axel dot azerty at laposte dot net Description: ------------ I had a problem installing pear on Windows, this the go-pear.bat script. I read bug report http://bugs.php.net/bug.php?id=38466 off course, announcing this problem was solved in php-4.4.4 but it seems it isn't. The go-pear.php from the 4.4.4 version didn't work. I downloaded the script displayed at http://go-pear.org and it worked fine, so I managed to install PEAR. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38541&edit=1