Red Hat Bugzilla – Bug 182079
Circular dependancy - php and php-pear
Last modified: 2007-11-30 17:11:24 EST
After building php from scratch, an attempt is made to install it:
error: Failed dependencies:
php-pear is needed by php-5.1.2-4.3.i386
An attempt is made to build php-pear-1.4.6-1.src.rpm, but this depends on php:
[root@chandler rpms]# rpmbuild --rebuild php-pear-1.4.6-1.src.rpm
error: Failed build dependencies:
php >= 5.1.0-1 is needed by php-pear-1.4.6-1.noarch
The workaround is to install php with --nodeps, then build and install php-pear.
php must require php-pear to prevent upgrades from breaking. You'll have to
install prebuilt RPMs to avoid this.