Hi, it looks like the ebuild for php-4.4.1-r3.ebuild ignores the xml useflag. If i do an emerge -vp dev-lang/php everything looks fine: --------------------------------- emerge -vp dev-lang/php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/php-4.4.1-r3 (-adabas) -apache +apache2 -bcmath -berkdb (-birdstep) -bzip2 -calendar -cdb +cgi -cjk +cli -crypt +ctype -curl -db2 -dba -dbase (-dbmaker) -dbx -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -expat -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-external -java-internal -kerberos -ldap -libedit -mcal -mcve -memlimit -mhash +ming -mnogosearch -msql -mssql +mysql -ncurses -nls -oci8 (-oci8-instant-client) -odbc -oracle7 -overload -ovrimos +pcntl +pcre -pear (-pfpro) -pic -posix -postgres -readline -recode -sapdb +session -sharedext -sharedmem -snmp -sockets (-solid) -spell -sqlite -ssl (-sybase) (-sybase-ct) -sysvipc -threads -tiff -tokenizer +truetype -wddx +xml -xmlrpc -xpm +xsl -yaz -zip +zlib 0 kB --------------------------------------------------- , but when i finally emerge (everythings looks fine), afterwards use php-toolkit to set it up and than run a simple phpinfo() script, the xml support is disabled.... Maybe i did something wrong, if not, could you please check it? Grischa
<snip> ewarn "The 'xml' and 'xml2' USE flags were unified in only the 'xml' USE" ewarn "flag. To get the features that were once controlled by the 'xml2'" ewarn "USE flag, turn the 'xml' USE flag on. To get the features that were" ewarn "once controlled by the 'xml' USE flag, turn the 'expat' USE flag on." </snip> USE=xml enables DOM XML; you probably want USE=expat.
That's pretty confusing - especially since the emerge prints: * Enabling xml when it actually means expat. I think this comes from /usr/portage/eclass/php4_4-sapi.eclass where it seems to associate the xml flag with expat: enable_extension_disable "xml" "expat" 0 and phpinfo() reports whatever expat enables as "xml support". Maybe the xml use flag could enable what php calls xml (ie. expat) as well?
A(In reply to comment #2) > That's pretty confusing ... and won't change, xml2 use flag is deprecated (Bug 116346). http://www.gentoo.org/proj/en/php/php-upgrading.xml has section on use flags.