Bug 694

Summary: build vm_power_manager using Make
Product: DPDK Reporter: Brian Ryley (brian.ryley)
Component: examplesAssignee: Brian Ryley (brian.ryley)
Status: UNCONFIRMED ---    
Severity: normal CC: ajit.khaparde, david.marchand
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Linux   

Description Brian Ryley 2021-04-28 13:17:42 CEST
STEPS TO REPRODUCE: git DPDK, install DPDK  , install libvirt , go to dpdk/examples/vm_power_manager and make.

EXPECTED RESULT: vm_power_manager builds

ACTUAL RESULT: Makefile:46: *** vm_power_manager requires libvirt >= 0.9.3.  Stop. COMMENT: libvirtd (libvirt) 3.2.1 installed

DATE: 2021-04-28

DPDK VERSION: 21.05.0-rc1
Comment 1 David Marchand 2021-04-28 13:27:10 CEST
Did you install the development package for libvirt?
Comment 2 David Marchand 2021-04-28 13:29:45 CEST
# With no package:

$ rpm -q libvirt-devel
package libvirt-devel is not installed
$ pkg-config --atleast-version=0.9.3 libvirt; echo $?
1

# Once package is installed:

$ rpm -q libvirt-devel
libvirt-devel-6.1.0-4.fc32.x86_64
$ pkg-config --atleast-version=0.9.3 libvirt; echo $?
0


I suppose the vm_power_manager Makefile could be improved to suggest this.
Comment 3 Ajit Khaparde 2021-05-10 20:03:55 CEST
Brian, Can you respond to David's question/comment? Thanks