I have been doing testing on the new dev-lang/php ebuilds, and have found that dev-lang/php-4.4.0 (and possibly 5.0.4 - not tested yet) has a missing dep on >=dev-libs/xslt-1.0.3. This is on amd64, but should be valid for all archs I think. checking for libxml version... >= 2.4.14 checking for DOM XSLT support... /usr checking for DOM EXSLT support... /usr not found configure: error: Please reinstall the libxslt >= 1.0.3 distribution !!! ERROR: dev-lang/php-4.4.0 failed. !!! Function php4_4-sapi_src_compile, Line 509, Exitcode 1 !!! configure failed !!! If you need support, post the topmost build error, NOT this status message. [ebuild N ] dev-lang/php-4.4.0 (-adabas) -apache +apache2 +bcmath +berkdb (-birdstep) +bzip2 +calendar -cdb +cgi +cli +crypt +ctype +curl +curlwrappers -db2 +dba -dbase -dbm (-dbmaker) -dbx -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) +exif -fastbuild (-fdftk) (-filepro) (-firebird) +flatfile -force-cgi-redirect (-frontbase) -ftp +gd -gd-external -gdbm -gmp -hardenedphp -hyperwave-api +iconv +imap (-informix) +inifile -interbase -iodbc +ipv6 -java -java-external +jpeg -kerberos +ldap -libedit +mcal +mcve +memlimit +mhash +ming -msql -mssql +mysql +ncurses +nls -oci8 +odbc -oracle7 +overload -ovrimos +pcntl +pcre +pear (-pfpro) +png +posix -postgres +readline -recode -sapdb +sasl +session -sharedext +sharedmem +snmp +sockets (-solid) +spell +sqlite +ssl (-sybase) (-sybase-ct) +sysvipc -threads +tiff -tokenizer +truetype -wddx +xml +xml2 +xmlrpc -xpm +xsl -yaz +zip +zlib I had no libxslt on my system, and it wasn't trying to pull it in here. Emerging libxslt fixes this configure error.
PHP5 does correctly depend on dev-libs/libxslt, PHP4 didn't in fact, if you enable "xml2" and "xsl" USE flags it needs dev-libs/libxslt, wich wasn't in any DEPEND. Thanks a lot for signaling this, it's now fixed in the PHP Overlay [1] and will enter Portage soon. Best regards, CHTEKK. [1] http://svn.gnqs.org/projects/gentoo-php-overlay/
Closing.