Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: C headers not found when installing Sys::Virt on CentOS

by syphilis (Archbishop)
on Dec 13, 2017 at 10:18 UTC ( [id://1205400]=note: print w/replies, xml ) Need Help??


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

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
  • Comment on Re: C headers not found when installing Sys::Virt on CentOS

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1205400]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found