Summary: | phpmyadmin cannot be installed my mysqli USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
Component: | Current packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jakub |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Skwar
2006-03-04 07:46:52 UTC
(In reply to comment #0) > Well, I had PHP installed with the mysqli USE flag. But phpmyadmin works pretty > fine with the mysqli flag. Indeed, even the setup script supports mysqli and > will autodetect it. Except that mysqli doesn't exist at all w/ php-4. Try this (not tested) pkg_setup() { webapp_pkg_setup require_php_with_use pcre session if ! built_with_use -o =${PHP_PKG} mysql mysqli ; then eerror "${PHP_PKG} needs to be re-installed with one of the following" eerror "USE flags enabled:" eerror eerror "mysql or mysqli if using dev-lang/php-5" eerror "mysql if using dev-lang/php-4" die "Re-install ${PHP_PKG}" fi } (In reply to comment #1) > (In reply to comment #0) > > Well, I had PHP installed with the mysqli USE flag. But phpmyadmin works pretty > > fine with the mysqli flag. Indeed, even the setup script supports mysqli and > > will autodetect it. > > Except that mysqli doesn't exist at all w/ php-4. True. > Try this (not tested) Works - I was able to install phpmyadmin with my USE=mysqli enabled dev-lang/php fixed in CVS. |