El Tue, 28 Feb 2006 08:25:47 -0700
Richard Fish dijo:

> On 2/28/06, Arnau Bria Ramírez <[EMAIL PROTECTED]> wrote:

> 
> From the ebuild:
I've been looking for this in google and I did not go to the source of the
error?¿ I must stop my google dependency!
 
> pkg_setup() {
>         webapp_pkg_setup
>         built_with_use virtual/php mysql || \
>                 die "php cli sapi must be compiled with USE=mysql"
>         built_with_use virtual/httpd-php mysql || \
>                 die "php apache/cgi sapi must be compiled with USE=mysql"
> }
> 
> So whatever package is providing virtual/php on your system (most
> likely dev-lang/php) needs to have USE=mysql.  So does
> virtual/httpd-php, but that should be the same package (dev-lang/php).

You're right:
*  dev-lang/php
      Latest version available: 5.0.5-r5
      Latest version installed: 5.0.5-r5
      Size of downloaded files: 4,853 kB
      Homepage:    http://www.php.net/
      Description: The PHP language runtime engine

How may I know which package is serving each virtual service?



But, why if I set mysql to my make.conf and try to emerge with --newuse, php is
not a candidate of rebuild?

# cat /etc/portage/package.use 
sys-libs/glibc userlocales
=dev-lang/php-5.0.5-r5  dba mysql

Calculating world dependencies ...done!
[ebuild   R   ] net-ftp/proftpd-1.2.10-r7  
[ebuild   R   ] sys-devel/make-3.80-r3  
[ebuild   R   ] net-misc/openssh-4.2_p1-r1  
[ebuild   R   ] mail-filter/spamassassin-3.1.0  
[ebuild   R   ] net-mail/fetchmail-6.2.5.2-r1  
[ebuild   R   ] mail-mta/postfix-2.2.5  
[ebuild   R   ] net-fs/samba-3.0.14a-r2  
[ebuild   R   ] x11-libs/qt-3.3.4-r8  
[ebuild   R   ] kde-base/kdelibs-3.4.3-r1  
[ebuild   R   ] mail-client/sylpheed-claws-2.0.0  
[ebuild   R   ] kde-base/kdemultimedia-kioslaves-3.4.3  
[ebuild     U ] media-sound/amarok-1.3.8 [1.3.6] 
[ebuild     U ] net-dns/bind-9.3.2 [9.2.5-r6] 
[ebuild     U ] net-dns/bind-tools-9.3.2 [9.2.5] 

Many thanks!

> 
> -Richard

-- 
Arnau Bria

La parte contratante de la primera parte será considerada como la parte
contratante de la primera parte.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to