in reply to Help Installing Perl/Tk Win32

Tk requires that you have a correctly configured C compiler. Additionally that compiler will need to be the same one used to compile Perl (probably M$ CL.EXE on Win32) Additionally you need a number of perl header files ie perl.h (which simply may not be present). See A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++.

The path of least resistance will be to install ActivePerl (either 5.6.x or 5.8.x) from ActiveState and then use ppm to install a binary of Tk which is as simple as typing ppm install Tk at the command prompt. You can install this new Perl separately to the matlab Perl or possibly overwrite it. The file association for .pl and the path determine which version of perl will be run.

cheers

tachyon

Replies are listed 'Best First'.
Re^2: Help Installing Perl/Tk Win32
by PodMaster (Abbot) on Oct 22, 2004 at 07:42 UTC
    The path of least resistance will be to install ActivePerl (either 5.6.x or 5.8.x)
    So true. Trying to compile modules with perl 5.005_03 is like writing perl 5.6.x, and perl 5.6.x is already written.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re^2: Help Installing Perl/Tk Win32
by richz (Beadle) on Oct 22, 2004 at 12:31 UTC
    Yeah thanks for the link...I do have two separate installs of Perl but it would be preferable for me to get Tk installed under 5.005_03. Anyways the major problem was that I didn't build Perl myself but that link helps.

    Thanks.