Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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 Gtk2.pm 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,
Matt



In reply to Re: Perl Gtk2 for Windows by mmartin
in thread Perl Gtk2 for Windows by mmartin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found