Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

CPAN failed install

by Linicks (Scribe)
on Nov 13, 2016 at 12:44 UTC ( #1175809=perlquestion: print w/replies, xml ) Need Help??

Linicks has asked for the wisdom of the Perl Monks concerning the following question:

My cpan seems to have got it's knickers in a twist, and I am stuck on what the issue is:

sudo cpan WWW::WebKit Reading '/root/.cpan/Metadata' Database was generated on Sun, 13 Nov 2016 01:53:31 GMT WWW::WebKit is up to date (0.09). ... sudo cpan Gtk2:WebKit ... ... Fetching +r.gz -> OK Unpacking Gtk2-WebKit-0.09.tar.gz Entering Gtk2-WebKit-0.09 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.66) Checking if you have ExtUtils::PkgConfig 0 ... Yes (1.15) Checking if you have Glib::MakeHelper 0 ... Yes (1.323) Checking if you have Gtk2::CodeGen 0 ... Yes (0.03) Checking if you have ExtUtils::Depends 0 ... Yes (0.405) Configuring Gtk2-WebKit-0.09 Running Makefile.PL Package webkit-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `webkit-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'webkit-1.0' found

So, downloads version 0.09 then looks for version 1.0? Any help appreciated please!

Thanks, Nick

Replies are listed 'Best First'.
Re: CPAN failed install
by choroba (Cardinal) on Nov 13, 2016 at 12:49 UTC
    0.09 is the version of the Perl distribution Gkt2::WebKit, but 1.0 is the version of the underlying non-Perl library webkit-1.0. You seem to be missing the latter.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

      Thanks, but how do I get it - cpan (or cpanm) fails to find module WebKit-1.0?


        This is a system package that you will need to install. This package is distributed for your operating system, and maybe packaged for your OS by your vendor.

        Maybe you need to talk to your system administrator to get that package installed for you.

        "underlying non-Perl library webkit-1.0"

        cpan/m isn't going to get these for you. The modules README file details the required packages, you'll need to install them on your system.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1175809]
Approved by Athanasius
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2023-12-02 05:05 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (13 votes). Check out past polls.