Re: [gentoo-user] USE=mysql

2006-03-01 Thread Heiko Wundram
Am Dienstag, 28. Februar 2006 18:55 schrieb Arnau Bria Ramírez:
 But, why if I set mysql to my make.conf and try to emerge with --newuse,
 php is not a candidate of rebuild?

You probably did not emerge php directly, but had it pulled in by some other 
ebuild. This means it won't get picked up in an update. Try:

emerge -DuNpv world

and it should rebuild PHP too.

-- 
--- Heiko.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USE=mysql

2006-02-28 Thread Arnau Bria Ramírez
Hi,

trying to install cacti, at the end it gives me next error:

 md5 files   ;-) cacti-0.8.6g.ebuild
 md5 files   ;-) cacti-0.8.6g_p20051023.ebuild
 md5 files   ;-) cacti-0.8.6h.ebuild
 md5 files   ;-) cacti-0.8.6h_p20060108.ebuild
 md5 files   ;-) files/digest-cacti-0.8.6g_p20051023
 md5 files   ;-) files/postinstall-en.txt
 md5 files   ;-) files/digest-cacti-0.8.6g
 md5 files   ;-) files/digest-cacti-0.8.6h_p20060108
 md5 files   ;-) files/digest-cacti-0.8.6h
 md5 src_uri ;-) cacti-0.8.6g.tar.gz
 md5 src_uri ;-) short_open_tag_parse_error.patch
 md5 src_uri ;-) graph_properties_zoom.patch
 md5 src_uri ;-) script_server_snmp_auth.patch
 md5 src_uri ;-) mib_file_loading.patch

!!! ERROR: net-analyzer/cacti-0.8.6g_p20051023 failed.
!!! Function pkg_setup, Line 48, Exitcode 1
!!! php cli sapi must be compiled with USE=mysql

Which package is php cli sapi refering to?¿

after adding mysql USE flag:

 # emerge -p --newuse world
 --newuse implies --update... adding --update to options.

These are the packages that I would merge, in order:

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] 

I don't see any reference to php cli or sapi, and I wouldn't like to recompile
kdelibs or qt just for a use of one specific package. I'd use package.use ..

Thanks in advance.


--
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



Re: [gentoo-user] USE=mysql

2006-02-28 Thread Richard Fish
On 2/28/06, Arnau Bria Ramírez [EMAIL PROTECTED] wrote:
 !!! ERROR: net-analyzer/cacti-0.8.6g_p20051023 failed.
 !!! Function pkg_setup, Line 48, Exitcode 1
 !!! php cli sapi must be compiled with USE=mysql

 Which package is php cli sapi refering to?¿

From the ebuild:

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).

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE=mysql

2006-02-28 Thread Arnau Bria Ramírez
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