Re: problem installing DB_DataObject_FormBuilder_Frontend
| From: | Justin Patrin | Date: | Wed, 19 Oct 2005 17:28:31 +0000 |
| Subject: | Re: problem installing DB_DataObject_FormBuilder_Frontend | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21547@lists.php.net to get a copy of this message | ||
On 10/19/05, Greg Beaver <cellog@php.net> wrote:
> Justin Patrin wrote:
> > Looks like HTML_Table doesn't follow the version # convention (of
> > course it hasn't been released for a long time now...) and the
> > installer you have doesn't account for this. What version of PEAR do
> > you have installed?
>
> actually, this is a *classic* example of versioning issues.
>
> try this:
>
> echo version_compare('1.5', '1.5.0', '==') ? 'same' :
> 'different';
>
> The problem is that you have a dependency on version 1.5.0 or greater,
> but 1.5 is in fact considered to be an earlier version than 1.5.0 by
> version_compare().
>
> Correct the dependency in pearified/DB_DataObject_FormBuilder_Frontend,
> and the installation will work.
>
I have. I wasn't sure if version_compare was used or if the installer
had its own code for this. HTML_Table really needs a new release...
--
Justin Patrin