Re: Patch version 2: automatic dependency resolution, and new install options --alldeps, plus order-independent uninstall

From: Date: Sat, 30 Aug 2003 09:30:10 +0000
Subject: Re: Patch version 2: automatic dependency resolution, and new install options --alldeps, plus order-independent uninstall
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20868@lists.php.net to get a copy of this message
Hi Greg, > > I'd love it if a few brave souls would be willing to back > > up their existing pear/PEAR directory and try this patch out, to assist > > in the development. As i've promised few days ago, i took time to see now this patch, and i run in trouble when i tried to install it. step 1: i've downloaded from CVS the version 1.67 http://cvs.php.net/cvs.php/php-src/pear/package-PEAR.xml step 2: pear upgrade tmp\package-PEAR.xml and i got error message below: failed to write E:\EasyPHP\php\pear\data\PEAR\.tmppackage.dtd Then i switch verbose mode on level 3 for more details and got E:\EasyPHP\php>pear upgrade tmp\package-PEAR.xml adding to transaction: delete E:\EasyPHP\php\pear\data\PEAR\package.dtd adding to transaction: delete E:\EasyPHP\php\pear\data\PEAR\template.spec adding to transaction: delete E:\EasyPHP\php\pear\PEAR.php adding to transaction: delete E:\EasyPHP\php\pear\System.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Autoloader.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Auth.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Build.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Common.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Config.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Install.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Package.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Registry.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Remote.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Command\Mirror.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Common.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Config.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Dependency.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Frontend\CLI.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Builder.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Installer.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Packager.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Registry.php adding to transaction: delete E:\EasyPHP\php\pear\PEAR\Remote.php adding to transaction: delete E:\EasyPHP\php\pear\OS\Guess.php adding to transaction: delete E:\EasyPHP\php\pear adding to transaction: delete E:\EasyPHP\php\pear.bat adding to transaction: delete E:\EasyPHP\php\pear\pearcmd.php rolling back 28 file operations failed to write E:\EasyPHP\php\pear\data\PEAR\.tmppackage.dtd When i have a look on file E:\EasyPHP\php\pear\data\PEAR\package.dtd it exists and with write permittions. Line error come from Installer.php file at line 226 if (empty($atts['replacements'])) { if (!@copy($orig_file, $dest_file)) { return $this->raiseError("failed to write $dest_file", PEAR_INSTALLER_FAILED); NOW my current config : - Windows XP, PEAR 1.2.1, PHP 4.2.3 step 3: pear list command give INSTALLED PACKAGES: =================== PACKAGE VERSION STATE Archive_Tar 1.1 stable Benchmark 1.2.1 stable Config 1.7 stable Console_Getopt 1.0 stable DB 1.4.0 stable File_HtAccess 1.1.0 stable File_Passwd 0.9.1 beta HTML_CSS 0.2.0 stable HTML_Common 1.2.1 stable HTML_Page 2.0.0b5 beta HTML_Progress 0.6.0 stable HTML_QuickForm 3.1 stable HTML_Table 1.5 stable HTML_Template_IT 1.1 stable HTML_Template_PHPLIB 1.3.1 stable HTML_Template_Sigma 1.0.1 stable HTML_TreeMenu 1.1.5 stable HTTP_Request 1.1.1 stable Log 1.7.0 stable MDB 1.1.3 stable Mail 1.1.1 stable Net_SMTP 1.2.3 stable Net_Socket 1.0.1 stable Net_URL 1.0.10 stable Net_UserAgent_Detect 1.0 stable PEAR 1.2.1 stable PEAR_Frontend_Web 0.2.2 beta PEAR_Info 1.0.6 stable PEAR_PackageFileMana 1.0 stable ger PHPUnit 0.6.2 stable Pager 1.0.7 stable Pager_Sliding 1.4 stable PhpDocumentor 1.2.1 stable XML_Parser 1.0.1 stable XML_RPC 1.0.4 stable step 4: pear config-show command give : CONFIGURATION: ============== PEAR executables directory bin_dir E:\EasyPHP\php PEAR documentation directory doc_dir E:\EasyPHP\php\pear\docs PHP extension directory ext_dir e:\easyphp\php\ext PEAR directory php_dir E:\EasyPHP\php\pear PEAR Installer cache directory cache_dir e:\easyphp\php\cache PEAR data directory data_dir E:\EasyPHP\php\pear\data PHP CLI/CGI binary php_bin E:\EasyPHP\php\cli\php.exe PEAR test directory test_dir E:\EasyPHP\php\pear\tests Cache TimeToLive cache_ttl 300 Preferred Package State preferred_state stable Unix file mask umask 0 Debug Log Level verbose 3 HTTP Proxy Server Address http_proxy <not set> PEAR server master_server pear.php.net PEAR password (for password <not set> maintainers) Signature Handling Program sig_bin c:\\gnupg\\gpg.exe Signature Key Directory sig_keydir C:\\WINDOWS\\pearkeys Signature Key Id sig_keyid <not set> Package Signature Type sig_type gpg PEAR username (for username Farell maintainers) What did i made wrong ? Laurent

« previous php.pear.dev (#20868) next »