Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

run or make issues #65

Open
Jerryhax opened this issue Jun 29, 2018 · 1 comment
Open

run or make issues #65

Jerryhax opened this issue Jun 29, 2018 · 1 comment

Comments

@Jerryhax
Copy link

i want gather metrices like introduced in README.md

Snap daemon version (use snapteld -v):
snapteld version 2.0.0

Environment:

**console :
$ pkg-config --cflags libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libvirt', required by 'virtual:world', not found
Package 'libvirt', required by 'virtual:world', not found
Package 'libvirt', required by 'virtual:world', not found
Package 'libvirt', required by 'virtual:world', not found
......
Package 'libvirt', required by 'virtual:world', not found
Package 'libvirt', required by 'virtual:world', not found
pkg-config: exit status 1

Compilation finished with exit code 2

What you expected to happen:

Steps to reproduce it (as minimally and precisely as possible):

  1. git clone snap-plugin-colector-libvirt
  2. make or run main.go
@Yajuan-Shi
Copy link
Contributor

Worked in my side. Seems not directly related to libvirt project.

Maybe you probably need libvirt-dev(el) package installed.
https://www.redhat.com/archives/libvirt-users/2014-May/msg00085.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants