thanks Richard. I added unicode to USE, re-emerged PHP and Apache, then was able to emerge PHPMyAdmin and MediaWiki.
On 9/8/06, Shawn Singh < callmeshawn@gmail.com> wrote:
> I was trying to install PHP and a couple other packages when I got the
> following error:
>
> * Checking for required PHP feature(s) ...
> * Discovered missing USE flag: unicode
> *
> * dev-lang/php-5.1.4-r6 needs to be re-installed with all of the following
> * USE flags enabled:
> *
> * 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
> *
[snip]
> I checked /usr/portage/profiles/use.desc and see that unicode is listed,
> and the other flags
> ( pcre session mysql and mysqli ), what's causing this?
Well use.desc is just a description of USE flags, not the flags that
you actually have turned on. You should read:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2
But basically what you need to do is either:
- update /etc/make.conf to add unicode to USE
- add "dev-lang/php unicode" to /etc/portage/package.use
I actuall recommend the first, as unicode seems to be one of those
things that should be enabled globally.
If you have further trouble with this, post the outputs of "emerge
--info" and "emerge -pv dev-lang/php".
-Richard
--
gentoo-user@gentoo.org mailing list