Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Perl Gtk2 for Windows

by mmartin (Monk)
on Jun 28, 2013 at 18:06 UTC ( #1041306=note: print w/replies, xml ) Need Help??

in reply to Perl Gtk2 for Windows

Hey Guys,

Sorry I haven't responded in a while but I finally just finished up my Gtk2 UI for my Perl script.

My script won't run..! Ughh.... I don't know what I'm doing wrong....?

So I downloaded and installed ActivePerl which all went just fine. Now I tried installing Gtk2 but my
script won't execute still. First I tried from CPAN but I think it failed then I searched for Gtk2 in the
PPM GUI that comes with the ActivePerl install, but it could not find Gtk2 package.

But then I found this package in PPM Bundle-Gnome2 which has the description "A bundle to install all
the Gtk2 and Gnome2 modules". So I installed that.

And after installing that and I try to run my script I get this error:
        "Can't locate in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) "

Then since that didn't seem to work, I found someone who wrote this script below to install Gtk2. I ran that
and as I watched it go through it seemed to NOT fail on anything. And since I right-clicked the script and did
'Open With: Perl Command Line Interpreter' as soon as it finished it automatically closed the term window so not
sure what happened at the end...?

#!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->install( "Test::Harness", "Test::More", "Test::Number::Delta", "File::Spec", "Pod::Man", "Pod::Simple", "Text::Wrap", "Pod::Escapes", "ExtUtils::MakeMaker", "ExtUtils::PkgConfig", "ExtUtils::Depends", "Cairo", "Glib", "Pango", "Gtk2");

So I'm kinda stuck here and I'm not sure what I'm doing wrong...?

Any help would be greatly appreciated.

Thanks in Advance,

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041306]
[LanX]: Jeez .... UTF8 in my company is driving me crazy
[LanX]: seems like my boss has activated an extra UTF8 encoding such that my JSON stuff arives twice encoded in the browser ... oO
[LanX]: he loves to do this with regexes ...
LanX considers looking for a new project ...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2018-03-19 23:22 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.