LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 430|回复: 1

emerge php出错,请大伙帮忙,多谢

[复制链接]
发表于 2011-9-27 10:48:10 | 显示全部楼层 |阅读模式
emerge php
Calculating dependencies \

!!! Problem resolving dependencies for dev-lang/php
... done!

!!! The ebuild selected to satisfy "php" has unmet requirements.
- dev-lang/php-5.3.8::gentoo USE="berkdb bzip2 cli crypt ctype curl exif fileinfo filter gdbm hash iconv ipv6 json ldap (multilib) nls phar posix readline session simplexml spell sqlite ssl tokenizer truetype unicode xml zlib (-adabas) -apache2 -bcmath (-birdstep) -calendar -cdb -cgi -cjk -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) -firebird -flatfile -fpm (-frontbase) -ftp -gd -gd-external -gmp -imap -inifile -interbase -intl -iodbc -kerberos -kolab -ldap-sasl -libedit -mhash -mssql -mysql -mysqli -mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap -sockets (-solid) -sqlite3 -suhosin (-sybase-ct) -sysvipc -threads -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip"

  The following REQUIRED_USE flag constraints are unsatisfied:
    truetype? ( any-of ( gd gd-external ) ) exif? ( any-of ( gd gd-external ) )

  The above constraints are a subset of the following complete expression:
    truetype? ( any-of ( gd gd-external ) ) cjk? ( any-of ( gd gd-external ) ) exif? ( any-of ( gd gd-external ) ) xpm? ( gd ) gd? ( zlib !gd-external ) gd-external? ( !gd ) simplexml? ( xml ) soap? ( xml ) wddx? ( xml ) xmlrpc? ( any-of ( xml iconv ) ) xmlreader? ( xml ) xsl? ( xml ) ldap-sasl? ( ldap !oci8 ) adabas? ( odbc ) birdstep? ( odbc ) dbmaker? ( odbc ) empress-bcs? ( empress ) empress? ( odbc ) esoob? ( odbc ) db2? ( odbc ) sapdb? ( odbc ) solid? ( odbc ) kolab? ( imap ) mhash? ( hash ) phar? ( hash ) mysqlnd? ( any-of ( mysql mysqli pdo ) ) oci8? ( !oci8-instant-client !ldap-sasl ) oci8-instant-client? ( !oci8 ) qdbm? ( !gdbm ) readline? ( !libedit ) recode? ( !imap !mysql !mysqli ) firebird? ( !interbase ) sharedmem? ( !threads ) !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )


这要如何处理,E文实在不怎么的
发表于 2011-9-27 15:17:15 | 显示全部楼层
意即:您启用了truetype和exif两个USE flag,这两个USE flag需要启用php的gd和gd-external两个USE flag中的任意一个。按照metadata中的说法,似乎gd-external有安全问题。可以在/etc/make.conf的USE中加入gd,或在/etc/portage/package.use中加入"dev-lang/php gd"。注意gd需要dev-lang/php启用zlib USE flag。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表