Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing libvirt-go-module and libvirt-dev
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
chubbypiper
n00b
n00b


Joined: 27 Jun 2018
Posts: 33

PostPosted: Tue May 07, 2024 2:33 am    Post subject: installing libvirt-go-module and libvirt-dev Reply with quote

I am trying to get the Go libvirt module (https://pkg.go.dev/libvirt.org/go/libvirt ) installed on my system, but I am running into a couple issues.

The first issue is that when I read through the documentation (linked earlier)., it says that I need "libvirt-dev", but it doesn't seems like Gentoo provides any sort of package for that. Does anyone know how I would actually go about installing that?

The second issue (and not directly a Gentoo issue, but more of a Go help thing), I'm running into this issue actually installing the module:

Code:

go: downloading libvirt.org/go/libvirt v1.10003.0
package libvirt.org/go/libvirt is not a main package


Has anyone been able to successfully install this module?
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1693

PostPosted: Tue May 07, 2024 2:35 am    Post subject: Reply with quote

app-emulation/libvirt should be the equivalent of 'libvirt-dev' as it should include headers (they're always installed on Gentoo).
Back to top
View user's profile Send private message
chubbypiper
n00b
n00b


Joined: 27 Jun 2018
Posts: 33

PostPosted: Tue May 07, 2024 2:50 am    Post subject: Reply with quote

sam_ wrote:
app-emulation/libvirt should be the equivalent of 'libvirt-dev' as it should include headers (they're always installed on Gentoo).


good to know. Thanks for that. Now to just figure out how to actually use it! :D
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