[gentoo-user] New installation and problem with rp-pppoe

2011-03-30 Thread Andrzej Styczeń
Hello,

I try today install Gentoo on my PC. Every thing go well until to install 
net-dialup/rp-pppoe
then I got:
>=x11-libs/cairo-1.10.0 [-qt4]

How to resolve. If I add the 'qt4' flag to USE in 
/etc/portage/package.use
this not work. If I set it globally in make.conf USE="qt4" - still not work.

What for is 'cario' and 'qt' needed if I install 'ppp' or 'rp-pppoe' in 
console. I will be later install whole KDE (and then maybe is needed)  but not 
now, I think (?). 

I select profile for KDE, x86 machine. 


Greetings,
Andrzej



Re: [gentoo-user] New installation and problem with rp-pppoe

2011-03-30 Thread Neil Bothwick
On Wed, 30 Mar 2011 12:37:04 +0200, Andrzej Styczeń wrote:

> What for is 'cario' and 'qt' needed if I install 'ppp' or 'rp-pppoe' in 
> console. I will be later install whole KDE (and then maybe is needed)
> but not now, I think (?). 
> 
> I select profile for KDE, x86 machine. 

The KDE profile sets the X USE flag, add -X until you are ready to emerge
the desktop.


-- 
Neil Bothwick

There is absolutely no substitute for a genuine lack of preparation.


signature.asc
Description: PGP signature


Re: [gentoo-user] New installation and problem with rp-pppoe

2011-03-31 Thread Andrzej Styczeń
On Wednesday 30 of March 2011 15:21:44 Neil Bothwick wrote:

> The KDE profile sets the X USE flag, add -X until you are ready to emerge
> the desktop.

Thank you. This didn't work.  Please see:

# USE="-X" emerge -av net-dialup/rp-pppoe

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/gdk-
pixbuf:2[X,introspection?,jpeg?,jpeg2k?,tiff?]".
!!! One of the following packages is required to complete your request:
- x11-libs/gdk-pixbuf-2.22.1 (Change USE: +X)
(dependency required by "x11-libs/gtk+-2.22.1-r1" [ebuild])
(dependency required by "net-dialup/ppp-2.4.4-r25[gtk]" [ebuild])
(dependency required by "net-dialup/rp-pppoe-3.8-r2" [ebuild])
(dependency required by "net-dialup/rp-pppoe" [argument])


So I add  X to /etc/portage/package.use and

# USE="-X" emerge -av net-dialup/rp-pppoe

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=x11-
libs/cairo-1.6[X,svg]".
!!! One of the following packages is required to complete your request:
- x11-libs/cairo-1.10.2-r1 (Change USE: +X)
(dependency required by "x11-libs/gtk+-2.22.1-r1" [ebuild])
(dependency required by "net-dialup/ppp-2.4.4-r25[gtk]" [ebuild])
(dependency required by "net-dialup/rp-pppoe-3.8-r2" [ebuild])
(dependency required by "net-dialup/rp-pppoe" [argument])


I switch to profile desktop.
# eselect profile set 2


 [2]   default/linux/x86/10.0/desktop *


and the same this didin't work. So I switch to default

# eselect profile list
Available profile symlink targets:
  [1]   default/linux/x86/10.0 *

and then work. I suspect that, the handbook should be changed or warning about 
this issue if someone need to install "desktop" or "kde" profile with:
"net-dialup/rp-pppoe".


# emerge -av net-dialup/rp-pppoe

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] net-dialup/ppp-2.4.4-r25  USE="ipv6 pam -activefilter -atm -
dhcp -eap-tls -gtk -mppe-mppc -radius" 727 kB
[ebuild  N] net-dialup/rp-pppoe-3.8-r2  USE="-X" 880 kB

Total: 2 packages (2 new), Size of downloads: 1,607 kB

Would you like to merge these packages? [Yes/No] y


Greetings,
Andrzej



Re: [gentoo-user] New installation and problem with rp-pppoe

2011-03-31 Thread Joshua Murphy
2011/3/30 Andrzej Styczeń :
> Hello,
>
> I try today install Gentoo on my PC. Every thing go well until to install
> net-dialup/rp-pppoe
> then I got:
>>=x11-libs/cairo-1.10.0 [-qt4]
>
> How to resolve. If I add the 'qt4' flag to USE in
> /etc/portage/package.use
> this not work. If I set it globally in make.conf USE="qt4" - still not work.
>
> What for is 'cario' and 'qt' needed if I install 'ppp' or 'rp-pppoe' in
> console. I will be later install whole KDE (and then maybe is needed)  but not
> now, I think (?).
>
> I select profile for KDE, x86 machine.
>
>
> Greetings,
> Andrzej
>
>

I believe the line immediately following:

">=x11-libs/cairo-1.10.0 [-qt4]"

should state rather clearly something close to the below block (if it
doesn't, you may need to run with --verbose to get that, I have
verbose set as default in make.conf)...

!!! One of the following packages is required to complete your request:
- x11-libs/cairo-1.10.2-r1 (Change USE: -qt4)
(dependency required by "x11-libs/qt-gui-4.6.3-r2" [ebuild])
(dependency required by "x11-libs/cairo-1.10.2-r1" [ebuild])
(dependency required by "x11-libs/pango-1.28.3" [ebuild])
(dependency required by "x11-libs/gtk+-2.20.1-r1" [ebuild])
(dependency required by "net-dialup/ppp-2.4.4-r25" [ebuild])
(dependency required by "net-dialup/rp-pppoe-3.8-r2" [ebuild])
(dependency required by "rp-pppoe" [argument])

Which tells me, A) it's failing because the qt4 USE flag *is* set, and
that adding it more places won't help, and B) you should add an entry
in /etc/packages.use for net-dialup/ppp to disable gtk.

rp-pppoe is pulling in ppp.
ppp (because of the gtk use flag) is pulling in gtk+2.
gtk+2 is pulling in pango.
pango is pulling in cairo with the qt4 use flag (because of your profile).
Something, somewhere, in that list is incompatible with qt4.

-- 
Poison [BLX]
Joshua M. Murphy