public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Portage complaining when trying to install PHPMyAdmin
@ 2006-09-08 19:25 Shawn Singh
  2006-09-08 20:37 ` Richard Fish
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Singh @ 2006-09-08 19:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

Hey All,

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
 *

!!! ERROR: dev-db/phpmyadmin-2.8.2 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  phpmyadmin-2.8.2.ebuild, line 37:   Called die

!!! Re-install dev-lang/php-5.1.4-r6
!!! If you need support, post the topmost build error, and the call stack if
relevant.

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?

Thanks,

Shawn

-- 

"...to raise a signal means to turn the light on; ... Responding to a
signal means turning the light off (and, under System V, hoping the
bulb won't blow when it's next turned on)..."

                        --- Dan Bernstein

[-- Attachment #2: Type: text/html, Size: 1581 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Portage complaining when trying to install PHPMyAdmin
  2006-09-08 19:25 [gentoo-user] Portage complaining when trying to install PHPMyAdmin Shawn Singh
@ 2006-09-08 20:37 ` Richard Fish
  2006-09-12 19:47   ` Shawn Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Fish @ 2006-09-08 20:37 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Portage complaining when trying to install PHPMyAdmin
  2006-09-08 20:37 ` Richard Fish
@ 2006-09-12 19:47   ` Shawn Singh
  0 siblings, 0 replies; 3+ messages in thread
From: Shawn Singh @ 2006-09-12 19:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

thanks Richard. I added unicode to USE, re-emerged PHP and Apache, then was
able to emerge PHPMyAdmin and MediaWiki.

On 9/8/06, Richard Fish <bigfish@asmallpond.org> wrote:
>
> 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
>
>


-- 

"...to raise a signal means to turn the light on; ... Responding to a
signal means turning the light off (and, under System V, hoping the
bulb won't blow when it's next turned on)..."

                        --- Dan Bernstein

[-- Attachment #2: Type: text/html, Size: 2748 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-12 19:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08 19:25 [gentoo-user] Portage complaining when trying to install PHPMyAdmin Shawn Singh
2006-09-08 20:37 ` Richard Fish
2006-09-12 19:47   ` Shawn Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox