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

Hi Monks,
Have any of you ever got a version of Tk to
work on a Win95 machine?

I install cygwin in hope that I would get
a version of perl and gcc that would build
Tl800.023 but when I installed cygwin on
my little win95 machine I didn't get perl
or gcc. Therefore I am using ActiveState perl
and DJGPP gcc. Tk800.023 does work at all
with them. :(

Please help.

Replies are listed 'Best First'.
Re: Perl Tk cygwin and Win95
by rob_au (Abbot) on Jan 12, 2002 at 14:05 UTC
    This works fine for me with Activestate Perl Build 630 using the Perl Package Manager (PPM).

    C:\>ppm PPM interactive shell (2.1.5) - type 'help' for available commands. PPM> install Tk Install package 'Tk?' (y/N): y Installing package 'Tk'... . . Writing D:\Perl\site\lib\auto\Tk\.packlist PPM> query Tk Tk [800.022] Tk - a Graphical User Interface Toolkit PPM>

     

    perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'

Re: Perl Tk cygwin and Win95
by Flame (Deacon) on Jan 13, 2002 at 05:21 UTC
    The latest release of ActivePerl has Tk already-installed.


    -----BEGIN GEEK CODE BLOCK-----
    Version: 3.12
    GIT d- s:++ a--- C++++ UL P+++>++++ L+ E- W++>+++ N !o K- w+ O---- M-- V--
    PS PE Y- PGP t++(+++) 5(+++)++++ X R+@ tv+ b+++ DI+ D- G e->+++ h! r-- y-
    ------END GEEK CODE BLOCK------
    Translate

    "Weird things happen, get used to it."

    Flame ~ Lead Programmer: GMS

Re: Perl Tk cygwin and Win95
by Graham (Deacon) on Jan 13, 2002 at 04:43 UTC
    I use the SiePerl distribution of Perl 5.6.1 which includes Tk 800.023 amongst other things. This will run under Win9x and NT/2000 and should include most of what you require.

    For your further information SiePerl was built using Visual C++ 6.0. I have encountered numerous problems building Perl and Tk with a mix of cygwin and gcc.

    Graham

Re: Perl Tk cygwin and Win95
by hopes (Friar) on Jan 13, 2002 at 08:18 UTC
    I had the same problem months ago.
    I think you're getting trouble with the "location" of the ppm packages.
    Try to force this location:
    c:\>ppm install --location=http://www.activestate.com/ppmpackages/5.6p +lus tk
    or install the last activeperl distribution
    Regards

    Hopes
    $_=$,=q,\,@4O,,s,^$,$\,,s,s,^,b9,s, $_^=q,$\^-]!,,print
Re: Perl Tk cygwin and Win95
by rbc (Curate) on Jan 13, 2002 at 08:57 UTC
    Thanks everyone! Since I started visting perlmonks.org I my knowledge about perl is exploding.