Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

What should i install to use GUI in windows 8(x64) Strawberry or Activeperl

by ppp (Acolyte)
on Jan 12, 2015 at 18:44 UTC ( [id://1112981]=perlquestion: print w/replies, xml ) Need Help??

ppp has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

I am simply tired of installing and uninstalling different versions of ActivePerl and Strawberry to use Win32::GUI and Tk. (**More then 8 times**)

None of them work in my Window 8.

  1. Please suggest me the best tool(module) for using a GUI on Windows 8 . ActivePerl or Strawbwerry ?
  2. Please also let me know which GUI module will be best for the suggested Tool (ActvePrl or Stwbry) and please suggest me the free one as i am a student so no budget.

**PLEASE HELP ME I AM SIMPLY TIRED ON NUMBER OF INSTALLATIONS AND UN INSTALLATION FOR GUI modules**

  • Comment on What should i install to use GUI in windows 8(x64) Strawberry or Activeperl

Replies are listed 'Best First'.
Re: What should i install to use GUI in windows 8(x64) Strawberry or Activeperl
by ww (Archbishop) on Jan 12, 2015 at 20:18 UTC

    NOT to annoy you by remarking on the obvious -- but it sounds as though you're pretty irritated as well as frustrated.

    Nonetheless, we DO need more info to be helpful... so slow down, take a deep breath, and we WILL help. We can see from your other posts that you'll have no great problems following this sketch of (detailed) info we'll need... I at least, know of no reason for Win8 to balk at your project (Tk might be a different matter, but we'll leave that to another responder).

    • Specifically, WHAT is your script telling Perl about how it's to proceed? Please cut and paste the use... ; lines from your code. Two of them should be on the order of use Win32::Gui...; and use Tk ...;
    • That leads to a second question: Did you install Win32::GUI? If so, how (details!) (<UPDATE 2>:
      • Are you aware that it was NOT a core module at least thru 5.016 and perhaps later and is not found in the Active State repo for 5.018 and, at its SourceForge project homepage. this information:
        Latest Release
        The latest release is v1.06, and was released on February 13th, 2008. ### DANGER!
        ...[Source][ActivePerl 5.6 PPM] [ActivePerl 5.8 PPM]  [ActivePerl 5.10 PPM]
      suggests the package may not be under active development? </UPDATE 2>>
    • Ditto, re Tk
    • What Perl version are you using? Which Win32::GUI version? Which Tk?

    There are many Monks here who'll be ready and willing to lend assistance with this kind of info. If I've forgotten some you're asked for later, consider these my alibis:

    And, of course, if you can boil your code down to 10 or 15 lines whose execution produces the same failures that have bothered you previously, pray post that code!

    Update 1: typo fix, word choice improved(s/commenting on/remarking on/;)


      ...and is not found in the Active State repo for 5.018...

      Looks like ActiveState is claiming to have Win32::GUI version 1.11 available in their repositories for 5.16, 5.18 and 5.20 versions of ActivePerl. (see here)

      ...suggests the package may not be under active development?

      Actually, looking at Win32::GUI shows that the latest version (1.11) was released Nov. 8, 2014. Looking at the version history, looks like KMX took over the module and put out version 1.07 back in October 2014. Although KMX has taken over as maintainer of the Win32::GUI module on CPAN, that may not also be true of the Win32::GUI project on SourceForge.

      I'm not going to claim that Win32::GUI is the "best" module for making GUIs on Windows. Just wanted to point out that Win32::GUI has a new maintainer and has had new releases in the past 4 months.

        Thanks, dasgar, for the good news about the new Ver. and maintainer.

        But AS/PPM in action here don't conform to the chart in the parent:

        C:\>ppm install Win32::GUI ppm install failed: Can't find any package that provides Win32::GUI C:\>perl -v This is perl 5, version 18, subversion 2 (v5.18.2) built for MSWin32-x +86-multi-thread-64int (with 1 registered patch, see perl -V for more detail) ... Binary build 1802 [298023] provided by ActiveState http://www.ActiveSt +ate.com Built Apr 14 2014 15:40:28

        Even the 1.09 available for 64bit might help ppp, if that's the root of the question.

Re: What should i install to use GUI in windows 8(x64) Strawberry or Activeperl
by syphilis (Archbishop) on Jan 12, 2015 at 23:56 UTC
    As regards Tk, the following should (AFAIK) work for you with either StrawberryPerl or ActivePerl:
    ppm install http://www.sisyphusion.tk/ppm/Tk.ppd --force
    Cheers,
    Rob
      to syphilis - thank you for the Tk link!!
Re: What should i install to use GUI in windows 8(x64) Strawberry or Activeperl
by Gangabass (Vicar) on Jan 13, 2015 at 02:00 UTC
    ActiveState's Perl contain Tkx from the box.

    And you can install Win32::GUI from the ppm utility (just checked on v5.16.3)

    Hint: you need to search for "Win32-GUI" in the search box to find it in the list of modules

      I installed Verion 5.16.3 of active perl. and i tried t find WIN32::GUI but there is no such module , we have WIN32::API . WHAT TO DO NOW ? i get this on perl -v : This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-mult hread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2012, Larry Wall Binary build 1604 298023 provided by ActiveState http://www.ActiveState.com Built Apr 14 2014 14:32:20 *************************************************************** This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi- hread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2012, Larry Wall Binary build 1604 298023 provided by ActiveState http://www.ActiveState.com Built Apr 14 2014 14:32:20
        i tried t find WIN32::GUI but there is no such module

        If you're using the line command version of ppm and trying to install "WIN32::GUI", you probably won't find it. The names of Perl modules are case-sensitive and the module that you want is "Win32::GUI". In other words:

        • ppm install WIN32::GUI will not work
        • ppm install Win32::GUI should install the Win32::GUI module

        Install something called Win32::GUI ... if for some reason you need it, its available for 5.16
Re: What should i install to use GUI in windows 8(x64) Strawberry or Activeperl
by Laurent_R (Canon) on Jan 12, 2015 at 21:47 UTC
    Do you have trouble installing Win32::GUI and Tk or does it install OK but not run as you expect when using it?

    In either case, please provide error messages, unexpected output, whatever might help us to help you.

    Update: fixed a typo.

    Je suis Charlie.
Re: What should i install to use GUI in windows 8(x64) Strawberry or Activeperl
by vkon (Curate) on Jan 13, 2015 at 02:59 UTC
    Using Tkx or just simple Tcl is better way of using Tcl/Tk compared to perl/Tk,
    perlTk module was wrong way of embedding Tk into perl.

    Benefits include: better speed, larger set of widgets, cleaner coding of GUI, latest version of tcl/tk used

Re: What should i install to use GUI in windows 8(x64) Strawberry or Activeperl
by james28909 (Deacon) on Jan 13, 2015 at 04:47 UTC
    I use active perl 5.16 and WxPerl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1112981]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found