View previous topic :: View next topic |
Author |
Message |
paradigm-X Apprentice
Joined: 19 Sep 2013 Posts: 168
|
Posted: Sun Nov 10, 2013 6:38 pm Post subject: 'equery uses vde -a' |
|
|
When I do 'equery uses vde -a', I see output these data:
user@localhost ~ $ equery uses vde -a
!!! No USE flags found for net-misc/vde-2.2.2
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-misc/vde-2.3.1:
U I
- - pcap : Enable the pcap-based plugin that allows creating a switch against a real interface.
+ + ssl : Enable the cryptcab plugin that allows creating an encrypted virtual cable.
- - static-libs : Build static libraries
Now, based on my understanding of the following explanation:
" Listing Per-Package USE Flags with uses (u)
equery's uses module can provide information about what USE flags are available for a specific package, and which of those flags is currently enabled."
I would expect that it should be possible for me to install vde with the pcap USE flag enabled. So, since I did in fact have the 'pcap'package installed prior to installing the 'vde' package and I did install the 'vde' package with the following command:
USE="pcap ssl" emerge vde
Why then does it not appear that the 'pcap' USE flag has been enabled for the vde package? What am I missing? I do actually need to get this flag enabled for vde so that I can use it with KVM/QEMU accordingly. |
|
Back to top |
|
|
quilosaq Veteran
Joined: 22 Dec 2009 Posts: 1522
|
Posted: Sun Nov 10, 2013 11:17 pm Post subject: |
|
|
¡Hi!
pcap use flag is only for 2.3.1 version of vde.
Try that:
Code: | USE="pcap ssl" emerge =net-misc/vde-2.3.1 |
Maybe you will need unmask the 2.3.1 versión (see package.keywords) and, maybe you will prefer put that uses in package.use. |
|
Back to top |
|
|
paradigm-X Apprentice
Joined: 19 Sep 2013 Posts: 168
|
Posted: Mon Nov 11, 2013 3:04 am Post subject: |
|
|
Hello, quilosaq.
Yes, sure enough, that did it for me! Okay, so I am really happy about the outcome, but it leads me to two questions, which I hope you can shed some light on. First, how is it that you could see that using the other one was necessary, ie., using the other version? Is something in the data alerting you to this fact? I see nothing to that effect. Secondly, after reading your suggestion, as I wanted to determine whether removing the stable version of vde, to replace it with the later one, might pose a problem based on its dependencies, I did 'equery depends vde' to see what popped up. I could see QEMU was using vde, but the presentation of data did not make it clear to me specifically which versions of vde would suffice:
app-emulation/qemu-1.5.3 (vde ? net-misc/vde)
My question is, does the question mark indicate a wildcard meaning that any version is okay? Again, thanks a lot for the help. |
|
Back to top |
|
|
quilosaq Veteran
Joined: 22 Dec 2009 Posts: 1522
|
Posted: Mon Nov 11, 2013 8:26 pm Post subject: |
|
|
Not sure I understand what you're asking but ...
Q1.- On the issue of the use flags defined in each version the answer is in the output of equery. I point the keywords:
Code: | user@localhost ~ $ equery uses vde -a
!!! No USE flags found for net-misc/vde-2.2.2 | !!! No USE flags found for net-misc/vde-2.2.2
Code: | [ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-misc/vde-2.3.1: | * Found these USE flags for net-misc/vde-2.3.1:
Code: | U I
- - pcap : Enable the pcap-based plugin that allows creating a switch against a real interface.
+ + ssl : Enable the cryptcab plugin that allows creating an encrypted virtual cable.
- - static-libs : Build static libraries |
Q2.- Dependecies.
Code: | app-emulation/qemu-1.5.3 (vde ? net-misc/vde) | This should be read as qemu depends on vde package whether the use flag vde is on. As suggests no limitation on the vde package version, it should be understood that any version will do. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|