CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Ubuntu 10.10 and Library "libgtk2-perl-doc"... Not found Gtk2::Gdk::Screen ???


New User

May 10, 2011, 3:37 PM

Post #1 of 1 (665 views)
Ubuntu 10.10 and Library "libgtk2-perl-doc"... Not found Gtk2::Gdk::Screen ??? Can't Post

Hi, I'm doing with the library SCREEN tests but have not had good results. My version of Ubuntu Linux is 10.10 and the package that I install Ubuntu as the page for the version 10.10 is the library "libgtk2-perl-doc". I installed this package but my script still does not work.

A small sample script that I have is this:

#!/usr/bin/perl -w 

use strict;
use warnings;
use Gtk2 -init;
use Gtk2::Gdk::Screen;

print qq(All GOOD !!);

main Gtk2;

The output message is this:

Can't locate Gtk2/Gdk/ 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 line 6.
BEGIN failed--compilation aborted at line 6.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives