Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to install MinGW and Tk for Perl on Windows 7

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.

like image 374
Chris Stevens Avatar asked Jun 01 '10 10:06

Chris Stevens


2 Answers

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/

like image 148
junk Avatar answered Sep 29 '22 12:09

junk


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.

like image 26
Will Avatar answered Sep 29 '22 14:09

Will