RE: dependencies (was: Re: [PEAR-DEV] PEAR::UDDI in a nutshell)
| From: | Lukas Smith | Date: | Wed, 27 Aug 2003 15:51:50 +0000 |
| Subject: | RE: dependencies (was: Re: [PEAR-DEV] PEAR::UDDI in a nutshell) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20650@lists.php.net to get a copy of this message | ||
> From: Christian Wenz [mailto:christian@wenz.org]
> Sent: Wednesday, August 27, 2003 5:37 PM
> > > PEAR::SOAP and the four PEAR packages this depends on (now that I
> > think of
> > > it:
> > > PEAR::SOAP depends on HTTP_Request which depends on Net_Socket --
so
> > > shouldn't
> > > PEAR::SOAP then also depend on Net_Socket?). At the current stage,
we
> >
> > no it should not, as you can only install http_Request after
Net_Socket
> > has been installed
>
> ok, but why does the package then depend on Net_URL -- as far as I
> understand, HTTP_Request can only be installed after Net_URL has been
> installed? Just out of curiosity ...
well if Net_URL is used directly then you need to add a dependency.
However it makes no sense to add dependencies for dependencies as 1) the
installer handles this anyways and 2) those dependencies could change
without you having to know about it.
Regards,
Lukas