I'm trying to run this program perl-browser but I'm getting fowllowing error:

$ perl ./perl-browser
Can't locate Gtk2/WebKit.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./perl-browser line 8.
BEGIN failed--compilation aborted at ./perl-browser line 8.

Why is that?


Looks like module webkit is not installed. I think you should try something like this (or google perl modules installation)

sudo apt-get install cpanminus libwebkitgtk-devel
sudo cpanm Gtk2::WebKit

Hope it will work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.