views:

393

answers:

2

So... I have been trying to get this working for several weeks now. I can install MinGW through the .exe, but no-matter what I do I can't seem to get make support or ppm install MinGW to work in such a way that my compilation of Tk-804.029 will correctly use the 'make' command.

(Installing a Perl Module:

  1. perl MakeFile.PL - Works fine
  2. make or dmake - I can't get MinGW to properly associate Make or DMake (Can't find the correct .exe in the MinGW/bin directory either... I've tried using the -32bit mingw32-make.exe but that brings up errors to do with the compiled header files.

)

ppm install MinGW also doesn't work, seems to think it can't find the package. So I am at a loss. System is running Windows 7 on a x64 setup.

A: 

What perl are you using? You could try perl Makefile.PL MAKE=dmake

or

ppm install http://www.bribes.org/perl/ppm/Tk.ppd 
ppm install dmake MinGW
ppm upgrade dmake MinGW

or download from http://ppm4.activestate.com/author/MINGW.html Or try http://strawberryperl.com/

junk
A: 

I'd suggest using Strawberry Perl if possible (and for Perl on Windows in general), as it will give you a working dmake out of the box. I don't have Windows 7, but Tk installs fine from CPAN using Strawberry 5.10 on Windows XP.

Will