The ./configure process in emerge dev-php/php-cgi fails with the following error: configure: error: Sablotron version 0.96 or greater required. (Actual version of php-cgi: 4.4.0. XML support enabled.) Actually, Sablotron version 1.0.1 is installed on my system. Solution: The problem lies in how configure checks the version number. It uses the following test program: #line 90520 "configure" #include "confdefs.h" #include <stdlib.h> #include <sablot.h> int main () { double version; version = atof(SAB_VERSION); if (version >= 0.96) { exit(0); } exit(255); } There are two problems with this program. Firstly, it seems that it's not good to use atof with a double variable. (double test = atof("0.96") returns some crazy int number, while float test = atof("0.96") works correctly.) Secondly, with the change of the version number from 0.xx to 1.x.x the atof() function fails completely. Hope this helps. (I'm not sure whether the configure file is the responsibility of gentoo or original php developers.) Peter Slizik
*** This bug has been marked as a duplicate of 23579 ***
I really don't see how http://bugs.gentoo.org/show_bug.cgi?id=23579 applies to this problem?
> I really don't see how http://bugs.gentoo.org/show_bug.cgi?id=23579 applies to > this problem? Well, I don't see either. But setting USE="-java" have helped.
(In reply to comment #2) > I really don't see how http://bugs.gentoo.org/show_bug.cgi?id=23579 applies to > this problem? Check Bug 98853.