Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223899 - Emerge Error phpMyAdmin-2.11.5.2
Summary: Emerge Error phpMyAdmin-2.11.5.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-27 21:15 UTC by Giovanni
Modified: 2011-10-30 23:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni 2008-05-27 21:15:32 UTC
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
Comment 1 Allen Brooker (AllenJB) 2008-05-28 07:24:42 UTC
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.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-21 23:20:10 UTC
please read the LARGE RED text on when you are entering a bug, and do not submit ebuild issues to the bugzilla product.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-21 23:32:10 UTC
 * 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.