Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.18

Bug #1870 pear makerpm dependancies
Submitted: 2004-07-14 11:32 UTC
From: wtatam at premierit dot com Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 4.3.7 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-07-14 11:32 UTC] wtatam at premierit dot com
Description: ------------ pear makerpm package.tar.gz does nto create any Require statments in the spec file and so the rpms will install but then your scripts will fail with messages like "Failed opening required 'XML/Util.php'" even though the relevent package.xml files contain blocks like <deps> <dep type="pkg" rel="ge" version="0.4.2" optional="no">XML_Util</dep> <dep type="pkg" rel="ge" version="1.1.0" optional="no">XML_Parser</dep> <dep type="pkg" rel="has" optional="no">PEAR</dep> </deps>

Comments

 [2004-10-22 06:09 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-10-22 09:09 UTC] wtatam at premierit dot com
We know exactly what the other rpms are called as all rpms build of pear modules are called PEAR::$module_name so the spec file simply need to have "Requires: PEAR::$module_name >= $version"
 [2004-10-22 14:46 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-02-01 10:56 UTC] wtatam at premierit dot com
All that is required is a spec file with the following lines within the header Requires: PEAR::$dependant_module_name >= $version Requires: PEAR::$some_otherdependant_module_name >= $version Given this script builds all the pear rpms we know the exact name of what the rpm on which this one is dependant is called. e.g XML::Parser becomes PEAR::XML_Parser
 [2005-04-03 05:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-11-21 15:36 UTC] bugs at timj dot co dot uk
A patch which applies against older PEAR versions is at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173814 See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173806 and https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173804 for some discussion of generating RPM deps for declared dependency types other than "package" (e.g. "ext").