Re: possible bugs in PEAR installer
| From: | Tomas V.V.Cox | Date: | Sat, 02 Aug 2003 15:15:29 +0000 |
| Subject: | Re: possible bugs in PEAR installer | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19147@lists.php.net to get a copy of this message | ||
On Friday, August 1, 2003 23:10, Laurent Laville wrote:
> I'm not sure at 100% but i noticed as Arnaud Limbourg few days ago a problem
> when trying to install
> my package HTML_SetupWizard.
> 1. All temporary files are still on the hard disk like for
> html_setup_wizard after doing pear install
> SetupWizard.php
> .tmpSetupWizard.php
> etc.
I couldn't reproduce this problem with 1b2 under Linux. The installer does a "mv .tmpxx
xx". Please upgrade PEAR, clean up your dirs and check it again.
> 2. when i try
> pear uninstall <package>
> all files from <package> are of course removed but not directories !
> What's wrong here ?!
There is nothing wrong here. Many packages may share the same dir, for
ex XML_Tree and XML_Parser end at <peardir>/XML, that's why we do not
remove dirs, just the installed files.
> 3. i'm surprised after reading Arnaud comment
> Things to do:
> - modify package.xml to have the dependencies registered, it really is
> painful to find that you missed a dependency ;)
> here are my package dependencies :
> <deps>
> <dep type="pkg" rel="ge"
> version="1.1">PEAR</dep>
> <dep type="pkg" rel="ge"
> version="4.1.0">PHP</dep>
> <dep type="pkg" rel="ge"
> version="1.7">Config</dep>
> <dep type="pkg" rel="ge"
> version="1.6">Log</dep>
> <dep type="pkg" rel="ge"
> version="0.9.0">File_Passwd</dep>
> <dep type="pkg" rel="ge"
> version="0.8.5">I18N</dep>
> <dep type="pkg" rel="ge"
> version="1.1">MDB</dep>
> <dep type="pkg" rel="ge"
> version="1.2">HTML_Common</dep>
> <dep type="pkg" rel="ge"
> version="3.0">HTML_QuickForm</dep>
> <dep type="pkg" rel="ge"
> version="1.0">HTML_Template_Sigma</dep>
> <dep type="pkg" rel="ge"
> version="0.1.0">HTML_CSS</dep>
> <dep type="pkg" rel="ge"
> version="2.0">HTML_Page</dep>
> <dep type="pkg" rel="ge"
> version="0.4">HTML_Progress</dep>
> <dep type="pkg" rel="ge"
> version="1.0">Net_UserAgent_Detect</dep>
> </deps>
> I've removed packages HTML_CSS and File_Passwd
> pear uninstall HTML_CSS
> pear uninstall File_Passwd
> i check with
> pear list
> all pkg are gone !
Dependencies check on uninstall was added recently in 1b2, try
upgrading the PEAR package.
> Then i've tried
> pear install HTML_SetupWizard-1.0RC1.tgz
> and got
> install ok: HTML_SetupWizard 1.0RC1
> So where dependencies check gone !!!! because HTML_CSS and File_Passwd
> are no more on my system and should be stop install progress, isn't it ?
> I'm running under PEAR 1.1, PHP 4.3.2 and Windows XP
> is it a bug, should i submit a new bug entry ?!
> What your opinions ?
Where can I find you package for testing?
--
Tomas V.V.Cox mailto:cox@idecnet.com