Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by claviola (Novice)
on Dec 12, 2017 at 17:50 UTC ( #1205356=note: print w/replies, xml ) Need Help??


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.

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

Replies are listed 'Best First'.
Re^2: C headers not found when installing Sys::Virt on CentOS
by chrestomanci (Priest) on Dec 13, 2017 at 09:51 UTC

    Thanks!

    That solves my problem a different and much simpler way.

    Is there an easy way to find out which perl CPAN modules are packaged for CentOS? I know about the website at http://deb.perl.it/ that works for Debian and Ubuntu packages. Is there an equivalent for CentOS or other RedHat derived distros?

      $ yum list perl-\*

      There are many such sites, but even my favorite, pkgs.org, is seriously lacking in search capabilities, so a search for Sys::Virt will come up empty.

      Therefore, I'd recommend just googling for rpm Module::Name instead.

      Note however that in this case you could have just searched with yum search Sys::Virt on your machine itself.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-09-30 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?