D
D
deleted-dazgalbag2015-05-10 20:07:16
Perl
deleted-dazgalbag, 2015-05-10 20:07:16

How to install Gtk3 module for Perl from CPAN?

Hello.
Please tell me how to install Gtk3 module for Perl from CPAN . I found an example script there and ran it, but got this message:
Can't locate Cairo/GObject.pm in Inc (you may need to install the Cairo::GObject module) (@INC contains: /etc/perl /usr/local/ lib/i386-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1 /usr/lib/i386-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/ i386-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl/5.20/Gtk3.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl/5.20/Gtk3.pm line 6.
Compilation failed in require at win.pl line 1.
BEGIN failed--compilation aborted at win.pl line 1.
Tried running CPAN and installing Gtk3 with install Gtk3 but nothing happened. The module did not appear on my computer. Instead, a huge number of error messages came out in different files, something like this:
BEGIN failed--compilation aborted at ./t/inc/setup.pl line 2.
What should I do?
PS Thanks in advance.
PPS Linux Ubuntu 14.10, Perl 5.20.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pcdesign, 2015-05-11
@deleted-dazgalbag

sudo apt-get install libgtk3-perl
Maybe so?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question