Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues with package re-compilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 25

PostPosted: Wed Apr 10, 2024 3:30 am    Post subject: Issues with package re-compilation Reply with quote

Hi Experts, I am trying to compile support for VMWare monitoring in zabbix which is installed on Gentoo Server, however when I am trying to compile libxml2 or libcurl, its re-compiling zabbix without snmp (-snmp) as you can see below -

Code:
~ # USE="libxml2" emerge -a zabbix

 * IMPORTANT: 20 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
Dependency resolution took 2.08 s (backtrack: 0/20).

[ebuild   R    ] net-analyzer/zabbix-6.4.12  [b] USE="libxml2* -snmp*" [/b]

Would you like to merge these packages? [Yes/No] ^CInterrupted.



Quote:
~ # USE="libcurl" emerge -a zabbix

* IMPORTANT: 20 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.


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

Calculating dependencies... done!
Dependency resolution took 1.94 s (backtrack: 0/20).

[ebuild R ] net-analyzer/zabbix-6.4.12 USE="-snmp*"

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

Quitting.


Can you please guide me how to re-compile zabbix without removing snmp support from it.

Thanks in advance.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Wed Apr 10, 2024 3:45 am    Post subject: Re: Issues with package re-compilation Reply with quote

manu.rhel wrote:

Code:
~ # USE="libxml2" emerge -a zabbix


Can you please guide me how to re-compile zabbix without removing snmp support from it.

Simple, do not use "USE=xyz emerge ..." please.

Use /etc/portage/package.use file to specify per package USE flags, otherwise emerge will forget them.
Code:
net-analyzer/zabbix libxml2 snmp


While you are at it I would do emerge -auDpv @world to see what else is also broken by USE=... emerge
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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