http://qs1969.pair.com?node_id=1205356


in reply to C headers not found when installing Sys::Virt on CentOS

CentOS includes an RPM package for this module: perl-Sys-Virt

If you want to build the latest version, I'd suggest fetching the source RPM and building a new one with the latest version of the module, or looking at what it is doing and replicating that.