a wrong default path for pear has been used on php including the latest errata (4.0.4pl1-3), as a result a if no path is specified php and libphp4.so will use a path of : .:${prefix}/share/php4 the same path is used for pear to find where it is installed resulting on wrong references and errors on loading subclases the problem is on a wrong substitution for the configure script where : s%@INCLUDE_PATH@%.:${prefix}/share/php%g s%@PEAR_INSTALLDIR@%${prefix}/share/php%g
*** This bug has been marked as a duplicate of 24938 ***