|
Prev: problem modifying password attribute with Net_LDAP2 (RC3)
Next: [ANNOUNCEMENT] Services_Facebook-0.1.1 (alpha) Released.
From: "Christopher J. Ford" on 25 Jun 2008 13:50 Hello All, I've been doing PHP for a while, but just started looking into PEAR. My system admin is currently willing to install the packages for me, but i was wondering if there is an installation that includes all of the stable releases and their dependencies so that we don't need to do it one at a time. Also, while the PEAR manual says that PHP 5.2.0 should include the core PEAR functions, like the manager, ours doesn't seem to. Should we just install it according to the instructions for older versions? I look forward to a timely response. Thank you for your time and consideration. Christopher J. Ford Information Technology Specialist 4 (Database) NYS DoH / Division of Administration / Project Management Office NYS Forum Webmasters Guild Joint Co-Chair 518-474-4854 cjf02(a)health.state.ny.us Please note that i will be out of the office on the following dates: 06/27/2008, 07/11/2008, and ~07/30/2008 through ~08/12/2008. If there is something you require during that time period, please let me know so that arrangements can be made. Thank you. IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.
From: "Brett Bieber" on 27 Jun 2008 09:42 Hey Christopher On Wed, Jun 25, 2008 at 12:50 PM, Christopher J. Ford <cjf02(a)health.state.ny.us> wrote: > > Hello All, > > I've been doing PHP for a while, but just started looking into PEAR. My > system admin is currently willing to install the packages for me, but i was > wondering if there is an installation that includes all of the stable > releases and their dependencies so that we don't need to do it one at a > time. This usually isn't recommended, as some packages serve the same purpose and handle things in different ways, and I wouldn't recommend installing extra software you don't need. > Also, while the PEAR manual says that PHP 5.2.0 should include the core > PEAR functions, like the manager, ours doesn't seem to. Should we just > install it according to the instructions for older versions? PEAR is included with PHP by default, but some distributions choose to distribute it as a separate installable/upgradeable package. I would follow the instructions in the manual on installing and you should be fine. Hope that helps! -- Brett Bieber http://saltybeagle.com/
From: "Christopher J. Ford" on 30 Jun 2008 15:52 Brett, I see quite often a list of the modules that depend on the one i am viewing. But is there a way of finding out what the reverse is? In other words, if i download a module, how do i know what modules it depends on? Or does each module include it's dependencies? Thank you for your time and consideration. Christopher J. Ford Information Technology Specialist 4 (Database) NYS DoH / Division of Administration / Project Management Office NYS Forum Webmasters Guild Steering Committee Member (2008-2009) 518-474-4854 cjf02(a)health.state.ny.us Please note that i will be out of the office on the following dates: 06/27/2008, 07/11/2008, and ~07/30/2008 through ~08/12/2008. If there is something you require during that time period, please let me know so that arrangements can be made. Thank you. "Brett Bieber" <brett.bieber(a)gma il.com> To "Christopher J. Ford" 06/27/2008 09:42 <cjf02(a)health.state.ny.us> AM cc pear-general(a)lists.php.net Subject Re: [PEAR] PHP PEAR Install Questions Hey Christopher On Wed, Jun 25, 2008 at 12:50 PM, Christopher J. Ford <cjf02(a)health.state.ny.us> wrote: > > Hello All, > > I've been doing PHP for a while, but just started looking into PEAR. My > system admin is currently willing to install the packages for me, but i was > wondering if there is an installation that includes all of the stable > releases and their dependencies so that we don't need to do it one at a > time. This usually isn't recommended, as some packages serve the same purpose and handle things in different ways, and I wouldn't recommend installing extra software you don't need. > Also, while the PEAR manual says that PHP 5.2.0 should include the core > PEAR functions, like the manager, ours doesn't seem to. Should we just > install it according to the instructions for older versions? PEAR is included with PHP by default, but some distributions choose to distribute it as a separate installable/upgradeable package. I would follow the instructions in the manual on installing and you should be fine. Hope that helps! -- Brett Bieber http://saltybeagle.com/ IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.
From: "Brett Bieber" on 30 Jun 2008 16:07 On Mon, Jun 30, 2008 at 2:52 PM, Christopher J. Ford <cjf02(a)health.state.ny.us> wrote: > Brett, > > I see quite often a list of the modules that depend on the one i > am viewing. But is there a way of finding out what the reverse > is? In other words, if i download a module, how do i know what > modules it depends on? Each specific version of a library/package will have its own dependency list. You can see the immediate/explicitly declared dependencies by viewing the download page for the package you're installing. For example: http://pear.php.net/package/HTML_Table/download "This package has three dependencies: * PHP Version: PHP 4.3.0 or newer * PEAR Package: PEAR Installer 1.5.0 or newer * PEAR Package: HTML_Common 1.2.3 or newer" Keep in mind, this may not give you the full dependency stack, as each dependency will have its own dependencies. To determine the entire stack of dependencies for a library you have to parse each package, examine the dependencies and construct a directed acyclic graph (and this graph may be different depending on the specific versions of each library within the graph). Thankfully, the PEAR Installer handles this all for you when you type `pear install HTML_Table` for example. > Or does each module include it's dependencies? Not usually. The PEAR Installer automatically handles dependency resolution for you, so including dependencies is not required, nor recommended. By explicitly declaring required dependencies and utilizing the PEAR installer, each component can be upgraded (or downgraded!) individually when necessary. -- Brett Bieber http://saltybeagle.com/
From: "Jonathan Street" on 1 Jul 2008 05:55
2008/6/30 Brett Bieber <brett.bieber(a)gmail.com>: > On Mon, Jun 30, 2008 at 2:52 PM, Christopher J. Ford > <cjf02(a)health.state.ny.us> wrote: >> Brett, >> >> I see quite often a list of the modules that depend on the one i >> am viewing. But is there a way of finding out what the reverse >> is? In other words, if i download a module, how do i know what >> modules it depends on? > > Each specific version of a library/package will have its own > dependency list. You can see the immediate/explicitly declared > dependencies by viewing the download page for the package you're > installing. For example: > http://pear.php.net/package/HTML_Table/download > > "This package has three dependencies: > * PHP Version: PHP 4.3.0 or newer > * PEAR Package: PEAR Installer 1.5.0 or newer > * PEAR Package: HTML_Common 1.2.3 or newer" > > Keep in mind, this may not give you the full dependency stack, as each > dependency will have its own dependencies. To determine the entire > stack of dependencies for a library you have to parse each package, > examine the dependencies and construct a directed acyclic graph (and > this graph may be different depending on the specific versions of each > library within the graph). Thankfully, the PEAR Installer handles this > all for you when you type `pear install HTML_Table` for example. If you want the dependencies as well I believe the syntax would be: pear install --alldeps HTML_Table -or- pear install --onlyreqdeps HTML_Table > >> Or does each module include it's dependencies? > > Not usually. The PEAR Installer automatically handles dependency > resolution for you, so including dependencies is not required, nor > recommended. By explicitly declaring required dependencies and > utilizing the PEAR installer, each component can be upgraded (or > downgraded!) individually when necessary. > > -- > Brett Bieber > > http://saltybeagle.com/ > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > |