Greetings, mtl3 and welcome to the monastery.
The following instructions provide another way to install Perl-Gtk2 on the Windows platform. See, FAQ question #4.
I tested on fresh Strawberry Perl installations v5.22.3.1, v5.24.2.1, and v5.26.0.2. During the Gtk2 installation, a new window may appear asking if you want to move the themes directory. If so, wait for the installation to finish before answering the question.
The ppm_req script, mentioned in FAQ #4, is found here.
> ppm install PPM::Sisyphusion
Installing package 'PPM-Sisyphusion'...
Bytes transferred: 496247
Installing C:\perl-5.26.0.2\perl\site\lib\PPM\Sisyphusion.pm
Installing C:\perl-5.26.0.2\perl\bin\lib530pthread-1.dll
Installing C:\perl-5.26.0.2\perl\bin\libgcc_sis__530.dll
Installing C:\perl-5.26.0.2\perl\bin\libstdc_530.dll
> perl ppm_req Gtk2 # <-- provides a list of ppm commands to run
> ppm install PPM::Sisyphusion::Cairo_font
> ppm install Cairo
> ppm install Gtk2
The following dependencies are installed automatically.
> ppm install PPM::Sisyphusion::Pango_dll
> ppm install PPM::Sisyphusion::Glib_dll
> ppm install Glib
> ppm install PPM::Sisyphusion::Gtk2_dll
> ppm install PPM::Sisyphusion::Gtk2_theme
> ppm install PPM::Sisyphusion::Cairo_dll
> ppm install Pango
Tk may be installed similarly, via PPM under Strawberry Perl v5.22.3.1, but not later Perl releases at this time. Trying will not hurt and simply emit a message stating not yet available.
> ppm install PPM::Sisyphusion # <-- skip if already done
> ppm install Tk
> ppm install Tk::Zinc
The list of Sisyphusion packages is found here.
Regards, Mario
-
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.