Hello, I am trying to install phpmyadmin on my server AMD64 and I leave this error: server ~ # emerge phpmyadmin Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) dev-db/phpmyadmin-2.11.5.2 to / * phpMyAdmin-2.11.5.2-all-languages-utf-8-only.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking phpMyAdmin-2.11.5.2-all-languages-utf-8-only.tar.bz2 ;-) ... [ ok ] * * Using dev-lang/php-5.2.6_rc4 * * Checking for required PHP feature(s) ... * Discovered missing USE flag: ctype * * dev-lang/php-5.2.6_rc4 needs to be re-installed with all of the following * USE flags enabled: * * ctype pcre session unicode * * as well as any of the following USE flags enabled: * * mysql or mysqli if using dev-lang/php-5 * mysql if using dev-lang/php-4 * * * ERROR: dev-db/phpmyadmin-2.11.5.2 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * phpmyadmin-2.11.5.2.ebuild, line 39: Called die * The specific snippet of code: * die "Re-install ${PHP_PKG}" * The die message: * Re-install dev-lang/php-5.2.6_rc4 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-db/phpmyadmin-2.11.5.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/phpmyadmin-2.11.5.2/temp/die.env'. * * Messages for package dev-db/phpmyadmin-2.11.5.2: * * dev-lang/php-5.2.6_rc4 needs to be re-installed with all of the following * USE flags enabled: * * ctype pcre session unicode * * as well as any of the following USE flags enabled: * * mysql or mysqli if using dev-lang/php-5 * mysql if using dev-lang/php-4 * * * ERROR: dev-db/phpmyadmin-2.11.5.2 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * phpmyadmin-2.11.5.2.ebuild, line 39: Called die * The specific snippet of code: * die "Re-install ${PHP_PKG}" * The die message: * Re-install dev-lang/php-5.2.6_rc4 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-db/phpmyadmin-2.11.5.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/phpmyadmin-2.11.5.2/temp/die.env'. * any ideas? thank you all for your cooperation Reproducible: Always Steps to Reproduce: Gentoo 2007.0 AMD64 64bit
Portage is already telling you how to fix the problem: * Using dev-lang/php-5.2.6_rc4 * * Checking for required PHP feature(s) ... * Discovered missing USE flag: ctype * * dev-lang/php-5.2.6_rc4 needs to be re-installed with all of the following * USE flags enabled: * * ctype pcre session unicode * * as well as any of the following USE flags enabled: * * mysql or mysqli if using dev-lang/php-5 * mysql if using dev-lang/php-4 This package requires PHP to be compiled with certain features enabled. You need to enable the specified USE flags for PHP and then re-emerge it to enable them. For further information on USE flags and how to set them, see: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2 Once you've enabled the correct USE flags, apply the change by re-emerging the package: emerge -Nav php As a side note, please ensure you use the "Gentoo Linux" category when filing bugs against packages. The "Gentoo Bugzilla" category is for bugs that occur on this site.
please read the LARGE RED text on when you are entering a bug, and do not submit ebuild issues to the bugzilla product.
* dev-lang/php-5.2.6_rc4 needs to be re-installed with all of the following * USE flags enabled: * * ctype pcre session unicode * * as well as any of the following USE flags enabled: * * mysql or mysqli if using dev-lang/php-5 * mysql if using dev-lang/php-4 Please install PHP accordingly to the message. Unfortunately current Portage implementations lack use dependency resolution, so we have to resort to such checks within the ebuild, print matching messages and exit the emerge process the hard way.