Configuring PHP --with-pear=/some/other/dir has no effect on the problem; it still needs to write into /tmp/pear/cache during make.
Clobbering the existing /tmp/pear/cache and giving it a writeable directory succeeds. Although this enables me to build PHP with PEAR (and make the RPM), it's an unsatisfying workaround, not a solution. Bug I filed: http://bugs.php.net/bug.php?id=44354 Bug that may be related: http://pear.php.net/bugs/bug.php?id=13167 -- Cos