http://www.perlmonks.org?node_id=1040178


in reply to Perl Gtk2 for Windows

Hey Guys, thanks for the replies!!

Awesome, you guys gave me lots to think about, thanks alot!

I do like the idea though of a single, stand-alone executable that the user will just be able to run without
needing all those packages installed on their PC...

Also, yes, I do have a windows machine that I have access to. I have a Windows XP 32-bit Virtual machine that I
use from time to time for certain things like this. So that's not a problem. That "Cava Packager" sounds pretty
cool. Maybe I'll give that a shot first and see if I can get that working.


Also, maybe you guys would know the answer to this. I was trying to test my script I have so far on my Windows XP
Virtual Machine I was telling you about. I have Cygwin and Perl installed. But when trying to execute either "cpan"
or "ppm" it doesn't work, I get the command not recognized error when I try to run them. I tried executing the
command "set PATH=%PATH%;C:/cygwin/bin" and then tried running either of those commands again and I end up with
the same error.

Any ides why this would be not working with this? It's been quite a while since I installed Perl and Cygwin so I don't exactly
remember where I installed Perl from, for example I don't remember if it was ActivePerl or what not...

I know cpan is in that directory but I didn't see "ppm" in there. If I run "dir C:\cygwin\bin | find /I 'cpan' "
08/28/2010 04:52 PM 11,831 cpan 08/28/2010 04:44 PM 22,409 cpan2dist 08/29/2010 06:13 AM 3,029 cpaninject 08/28/2010 04:44 PM 3,398 cpanp 08/28/2010 04:44 PM 536 cpanp-run-perl 08/28/2010 04:51 PM 2,048 cpansign 08/28/2010 04:52 PM 9,742 cpantest

Thanks again guys for the info on what I need installed, much appreciated!
I'll give a couple a shot and post back with whichever one I use...


Thanks Again,
Matt

Replies are listed 'Best First'.
Re^2: Perl Gtk2 for Windows
by syphilis (Archbishop) on Jun 21, 2013 at 23:47 UTC
    I know cpan is in that directory but I didn't see "ppm" in there

    Cygwin doesn't have a ppm utility - and those pre-compiled binaries (that I linked to earlier) won't work with Cygwin anyway.
    They are for native Windows builds of perl - eg ActiveState Perl and Strawberry Perl. I think they'll be fine with Citrus Perl, too, but I know little about that particular build of perl.

    Cygwin does provide the GTK+ library, so you should be able to install that using Cygwin's setup.exe and then build Gtk2 using cpan (if you can get that configured correctly).

    I avoid using cpan unless the dependency chain for the module I'm trying to install is a long one.
    I prefer to download and unpack the source, then run the 'perl Makefile.PL', 'make test', and 'make install' commands by hand. But if cpan can do the job for you, that's the simplest route to take.

    Cheers,
    Rob
      Hey syphilis, thanks for the reply!

      Sorry for the late response but for some reason I don't think I got a notification that someone responded, or
      I did and it just buried in my inbox...

      Anyway, thanks for the suggestion/explanation I'm thinking I'm going to use "ActiveState Perl" since I feel like
      that's the one I've heard the most about.

      Did you say that, for example, if I download "Activestate" I will also need "Citrus" or are they not related?


      Thanks Again,
      Matt