Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: C headers not found when installing Sys::Virt on CentOSby syphilis (Archbishop) |
on Dec 13, 2017 at 10:18 UTC ( [id://1205400]=note: print w/replies, xml ) | Need Help?? |
Meanwhile both pkg-config and the perl build system cannot find the package I've no experience of CentOS, but pkg-config will be looking for the file libvirt.pc, which would generally be in ../pkgconfig (relative to libvirt.a). Did installing the devel package install a libvirt.pc ? (If not that would be a problem for pkg-config.) Does pkg-config know where to find the .pc file ? (If not, then you set the PKG_CONFIG_PATH environment variable to the directory that houses the pc file ... and it should then find it.) Also, in my experience, builds involving pkg-config work flawlessly so long as pkg-config can find the relevant pc file. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|