Re: call to action for PEAR 1.3.2

From: Date: Sun, 24 Oct 2004 22:44:29 +0000
Subject: Re: call to action for PEAR 1.3.2
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-1905@lists.php.net to get a copy of this message
Okay, everything went fine with a freshly installed PHP 4.3.9 on w2k, Apache 1.3.xx, except that I had to rename pear.bat_old to pear.bat after running go-pear. I don't know why it happens but it probably has nothing to do with PEAR 1.3.2. PEAR 1.3.2 works completely on Windows, as you can see from the output below. -- Regards, Norbert Mocsnik http://norbert.mocsnik.hu/ C:\Apache\php>dir Volume in drive C is 40GB Volume Serial Number is 16DC-3905 Directory of C:\Apache\php 2004.10.25 00:37 <DIR> . 2004.10.25 00:37 <DIR> .. 2004.09.21 14:08 93 go-pear.bat 2004.09.21 14:08 63 203 install.txt 2004.09.21 14:08 3 276 license.txt 2004.09.21 14:08 36 823 magic.mime 2004.09.21 14:08 197 795 news.txt 2004.09.21 14:08 45 056 php.exe 2004.09.21 14:08 3 872 php.gif 2004.09.21 14:08 39 811 php.ini-dist 2004.09.21 14:08 40 640 php.ini-recommended 2004.09.21 14:08 8 008 php4embed.lib 2004.09.21 14:08 1 331 200 php4ts.dll 2004.09.21 14:08 177 598 php4ts.lib 2004.10.25 00:37 <DIR> sapi 2004.10.25 00:37 <DIR> PEAR 2004.10.25 00:37 <DIR> pdf-related 2004.10.25 00:37 <DIR> openssl 2004.10.25 00:37 <DIR> mibs 2004.10.25 00:37 <DIR> extensions 2004.10.25 00:37 <DIR> dlls 2004.10.25 00:37 <DIR> cli 12 File(s) 1 947 375 bytes 10 Dir(s) 1 638 924 288 bytes free C:\Apache\php>go-pear 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. Go-pear also lets you download and install the PEAR packages bundled with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit-0.6.2. If you wish to abort, press Control-C now, or press Enter to continue: HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: 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:\Apache\php 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. php.exe path : C:\Apache\php\cli\php.exe 1-7, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit-0.6.2. Would you like to install these as well? [Y/n] : Loading zlib: ok Using local package: PEAR.............ok Using local package: Archive_Tar......ok Using local package: Console_Getopt....ok Using local package: XML_RPC..........ok Bootstrapping: PEAR...................(local) ok Bootstrapping: Archive_Tar............(local) ok Bootstrapping: Console_Getopt.........(local) ok Using local package: DB...............ok Using local package: Net_Socket.......ok Using local package: Net_SMTP.........ok Using local package: Mail.............ok Using local package: XML_Parser.......ok Downloading package: PHPUnit-0.6.2....ok Extracting installer..................ok install ok: PEAR 1.3.1 install ok: Archive_Tar 1.1 install ok: Console_Getopt 1.2 install ok: XML_RPC 1.1.0 install ok: DB 1.6.1 install ok: Net_Socket 1.0.1 install ok: Net_SMTP 1.2.5 install ok: Mail 1.1.2 install ok: XML_Parser 1.0.1 install ok: PHPUnit 0.6.2 ** WARNING! Backed up old pear to C:\\Apache\\php\pear.bat_old The 'pear' command is now at your service at C:\Apache\php\pear.bat ** The 'pear' command is not currently in your PATH, so you need to ** use 'C:\Apache\php\pear.bat' until you have added ** 'C:\Apache\php' to your PATH environment variable. Run it without parameters to see the available actions, try 'pear list' to see what packages are installed, or 'pear help' for help. For more information about PEAR, see: http://pear.php.net/faq.php http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt?p=1 http://pear.php.net/manual/ Thanks for using go-pear! * WINDOWS ENVIRONMENT VARIABLES * For convenience, a REG file is available under C:\Apache\php\PEAR_ENV.reg . This file creates ENV variables for the current user. Double-click this file to add it to the current user registry. Press any key to continue . . . C:\Apache\php>pear 'pear' is not recognized as an internal or external command, operable program or batch file. C:\Apache\php>dir Volume in drive C is 40GB Volume Serial Number is 16DC-3905 Directory of C:\Apache\php 2004.10.25 00:37 <DIR> . 2004.10.25 00:37 <DIR> .. 2004.09.21 14:08 93 go-pear.bat 2004.09.21 14:08 63 203 install.txt 2004.09.21 14:08 3 276 license.txt 2004.09.21 14:08 36 823 magic.mime 2004.09.21 14:08 197 795 news.txt 2004.09.21 14:08 45 056 php.exe 2004.09.21 14:08 3 872 php.gif 2004.09.21 14:08 39 811 php.ini-dist 2004.09.21 14:08 40 640 php.ini-recommended 2004.09.21 14:08 8 008 php4embed.lib 2004.09.21 14:08 1 331 200 php4ts.dll 2004.09.21 14:08 177 598 php4ts.lib 2004.10.25 00:37 <DIR> sapi 2004.10.25 00:37 <DIR> PEAR 2004.10.25 00:37 <DIR> pdf-related 2004.10.25 00:37 <DIR> openssl 2004.10.25 00:37 <DIR> mibs 2004.10.25 00:37 <DIR> extensions 2004.10.25 00:37 <DIR> dlls 2004.10.25 00:37 <DIR> cli 2004.10.25 00:38 319 pear.ini 2004.10.25 00:38 2 875 pear.bat_old 2004.10.25 00:38 376 PEAR_ENV.reg 15 File(s) 1 950 945 bytes 10 Dir(s) 1 633 058 816 bytes free C:\Apache\php>ren pear.bat_old pear.bat C:\Apache\php>pear Usage: pear [options] command [command-options] <parameters> Type "pear help options" to list all options. Type "pear help <command>" to get the help for the specified command. Commands: build Build an Extension From C Source bundle Unpacks a Pecl Package clear-cache Clear XML-RPC Cache config-get Show One Setting config-help Show Information About Setting config-set Change Setting config-show Show All Settings cvsdiff Run a "cvs diff" for all files in a package cvstag Set CVS Release Tag download Download Package download-all Downloads each available package from master_server info Display information about a package install Install Package list List Installed Packages list-all List All Packages list-upgrades List Available Upgrades login Connects and authenticates to remote server logout Logs out from the remote server makerpm Builds an RPM spec file from a PEAR package package Build Package package-dependencies Show package dependencies package-validate Validate Package Consistency remote-info Information About Remote Packages remote-list List Remote Packages run-tests Run Regression Tests search Search remote package database shell-test Shell Script Test sign Sign a package distribution file uninstall Un-install Package upgrade Upgrade Package upgrade-all Upgrade All Packages C:\Apache\php>pear list INSTALLED PACKAGES: =================== PACKAGE VERSION STATE Archive_Tar 1.1 stable Console_Getopt 1.2 stable DB 1.6.1 stable Mail 1.1.2 stable Net_SMTP 1.2.5 stable Net_Socket 1.0.1 stable PEAR 1.3.1 stable PHPUnit 0.6.2 stable XML_Parser 1.0.1 stable XML_RPC 1.1.0 stable C:\Apache\php>pear install -f c:\pear-core\package-PEAR.xml install ok: PEAR 1.3.2 C:\Apache\php>pear list INSTALLED PACKAGES: =================== PACKAGE VERSION STATE Archive_Tar 1.1 stable Console_Getopt 1.2 stable DB 1.6.1 stable Mail 1.1.2 stable Net_SMTP 1.2.5 stable Net_Socket 1.0.1 stable PEAR 1.3.2 stable PHPUnit 0.6.2 stable XML_Parser 1.0.1 stable XML_RPC 1.1.0 stable C:\Apache\php>pear install -a SOAP No release with state equal to: 'stable' found for 'SOAP' C:\Apache\php>pear install -a SOAP-beta downloading SOAP-0.8RC3.tgz ... Starting to download SOAP-0.8RC3.tgz (67,608 bytes) ................done: 67,608 bytes Release for 'soap' dependency 'Net_DIME' has state 'beta', requires 'stable' install failed C:\Apache\php>pear config-set preferred_state devel C:\Apache\php>pear install -a liveuser-beta downloading LiveUser-0.13.3.tgz ... Starting to download LiveUser-0.13.3.tgz (177,049 bytes) ....................................done: 177,049 bytes downloading MDB-1.3.0.tgz ... Starting to download MDB-1.3.0.tgz (218,957 bytes) ..done: 218,957 bytes downloading XML_Tree-2.0.0RC2.tgz ... Starting to download XML_Tree-2.0.0RC2.tgz (8,827 bytes) ..done: 8,827 bytes downloading Crypt_RC4-1.0.2.tgz ... Starting to download Crypt_RC4-1.0.2.tgz (1,850 bytes) ..done: 1,850 bytes downloading MDB2-2.0.0beta2.tgz ... Starting to download MDB2-2.0.0beta2.tgz (176,377 bytes) ..done: 176,377 bytes downloading Log-1.8.6.tgz ... Starting to download Log-1.8.6.tgz (30,793 bytes) ..done: 30,793 bytes Package 'XML_Parser' already installed, skipping Package 'XML_Parser' already installed, skipping Package 'XML_Parser' already installed, skipping Package 'DB' already installed, skipping install ok: Crypt_RC4 1.0.2 install ok: MDB2 2.0.0beta2 Optional dependencies: 'sqlite' PHP extension is recommended to utilize some features install ok: Log 1.8.6 requires package `XML_Parser' >= 1.1.0 XML_Tree: Dependencies failed C:\Apache\php>pear install -a XML_Parser Package 'XML_Parser' already installed, skipping C:\Apache\php>pear upgrade XML_Parser downloading XML_Parser-1.2.1.tgz ... Starting to download XML_Parser-1.2.1.tgz (10,179 bytes) ....done: 10,179 bytes upgrade ok: XML_Parser 1.2.1 C:\Apache\php>pear install -a liveuser-beta downloading LiveUser-0.13.3.tgz ... Starting to download LiveUser-0.13.3.tgz (177,049 bytes) ....................................done: 177,049 bytes downloading MDB-1.3.0.tgz ... Starting to download MDB-1.3.0.tgz (218,957 bytes) ..done: 218,957 bytes downloading XML_Tree-2.0.0RC2.tgz ... Starting to download XML_Tree-2.0.0RC2.tgz (8,827 bytes) ..done: 8,827 bytes install ok: XML_Tree 2.0.0RC2 install ok: MDB 1.3.0 install ok: LiveUser 0.13.3 C:\Apache\php>pear install -o liveuser-beta Package 'LiveUser' already installed, skipping C:\Apache\php>pear uninstall liveuser-beta liveuser-beta not installed C:\Apache\php>pear uninstall liveuser uninstall ok: LiveUser C:\Apache\php>pear install -o liveuser-beta downloading LiveUser-0.13.3.tgz ... Starting to download LiveUser-0.13.3.tgz (177,049 bytes) ....................................done: 177,049 bytes skipping Package 'liveuser' optional dependency 'DB' skipping Package 'liveuser' optional dependency 'MDB' skipping Package 'liveuser' optional dependency 'XML_Tree' skipping Package 'liveuser' optional dependency 'Crypt_RC4' skipping Package 'liveuser' optional dependency 'MDB2' install ok: LiveUser 0.13.3 C:\Apache\php>pear install http://pear.php.net/get/HTML_QuickForm-3.2.2.tgz downloading HTML_QuickForm-3.2.2.tgz ... Starting to download HTML_QuickForm-3.2.2.tgz (88,941 bytes) ....................done: 88,941 bytes requires package `HTML_Common' >= 1.2.1 HTML_QuickForm: Dependencies failed C:\Apache\php>pear install -a http://pear.php.net/get/HTML_QuickForm-3.2.2.tgz downloading HTML_QuickForm-3.2.2.tgz ... Starting to download HTML_QuickForm-3.2.2.tgz (88,941 bytes) ....................done: 88,941 bytes downloading HTML_Common-1.2.1.tgz ... Starting to download HTML_Common-1.2.1.tgz (3,637 bytes) ..done: 3,637 bytes install ok: HTML_Common 1.2.1 install ok: HTML_QuickForm 3.2.2 C:\Apache\php>pear list-upgrades AVAILABLE UPGRADES (DEVEL, ALPHA, BETA, STABLE): ================================================ PACKAGE LOCAL REMOTE SIZE Archive_Tar 1.1 (stable) 1.2 (stable) 14.5kB DB 1.6.1 (stable) 1.6.8 (stable) 91kB HTML_QuickForm 3.2.2 (stable) 3.2.4pl1 (stable) 91kB Mail 1.1.2 (stable) 1.1.4 (stable) 14.3kB Net_SMTP 1.2.5 (stable) 1.2.6 (stable) 9.0kB Net_Socket 1.0.1 (stable) 1.0.2 (stable) 3.6kB PHPUnit 0.6.2 (stable) 1.1.0 (stable) 15.1kB C:\Apache\php>pear upgrade-all Will upgrade archive_tar Will upgrade db Will upgrade html_quickform Will upgrade mail Will upgrade net_smtp Will upgrade net_socket Will upgrade phpunit downloading Archive_Tar-1.2.tgz ... Starting to download Archive_Tar-1.2.tgz (14,792 bytes) ....done: 14,792 bytes downloading DB-1.6.8.tgz ... Starting to download DB-1.6.8.tgz (92,460 bytes) ..done: 92,460 bytes downloading HTML_QuickForm-3.2.4pl1.tgz ... Starting to download HTML_QuickForm-3.2.4pl1.tgz (93,144 bytes) ..done: 93,144 bytes downloading Mail-1.1.4.tgz ... Starting to download Mail-1.1.4.tgz (14,548 bytes) ..done: 14,548 bytes downloading Net_SMTP-1.2.6.tgz ... Starting to download Net_SMTP-1.2.6.tgz (9,106 bytes) ..done: 9,106 bytes downloading Net_Socket-1.0.2.tgz ... Starting to download Net_Socket-1.0.2.tgz (3,706 bytes) ..done: 3,706 bytes downloading PHPUnit-1.1.0.tgz ... Starting to download PHPUnit-1.1.0.tgz (15,418 bytes) ..done: 15,418 bytes upgrade-all ok: Archive_Tar 1.2 upgrade-all ok: Net_Socket 1.0.2 upgrade-all ok: PHPUnit 1.1.0 Optional dependencies: package `Auth_SASL' is recommended to utilize some features. upgrade-all ok: Net_SMTP 1.2.6 upgrade-all ok: Mail 1.1.4 upgrade-all ok: DB 1.6.8 upgrade-all ok: HTML_QuickForm 3.2.4pl1 C:\Apache\php>

« previous php.pear.qa (#1905) next »