Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: RFC: Compiling Gtk+ stack on windows with strawberry perl

by marioroy (Priest)
on Sep 24, 2017 at 09:06 UTC ( #1199983=note: print w/replies, xml ) Need Help??


in reply to Re^2: RFC: Compiling Gtk+ stack on windows with strawberry perl
in thread Compiling Gtk+ stack on windows with strawberry perl

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

Replies are listed 'Best First'.
Re^4: RFC: Compiling Gtk+ stack on windows with strawberry perl
by mtl3 (Novice) on Sep 24, 2017 at 20:25 UTC

    This worked a treat!!!

    Many thanks for your fast, efficient... and wise answer.

    Regards.

      For anyone insterested in this installation, note that at this point in time the guidelines provided above will not install internationalization files automatically. That is: GTK stock button labels will be displayed in English whatever your computer setting are. If you want perl/gtk2+ to consider automatically your computer settings, you will have to copy the files present in your gtk install at \gtk+\share\locale to strawberry_perl\perl\site\share.

      Since I had to apply this little additional procedure to have my install worked as desider, I think it can be usefull to others interested by this thread too.

      Cheers

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1199983]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2018-06-23 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?