Yep - 1.5 is pretty crappy.
I believe you're using the MinGW compiler - you could consider switching to dmake available at http://search.cpan.org/~shay/dmake-4.7-20061120-SHAY/(though dmake should also work fine with the MS compilers, ftm). Actually, that CPAN version of dmake is more recent than what I'm using ... I must update.
Just install as per the instructions in the readme. My crystal ball also tells me that you're using ExtUtils::FakeConfig with ActivePerl. That being so, you'll need to reinstall EU::FC so that it uses dmake instead.
The version of nmake you were asking about is available somewhere on the MS website (though I don't have a link) as part of one of the packages (I don't know which) that makes up their free command line compiler. In the meantime, don't be surprised if some kind soul emails you a copy of nmake-7.0.
Have you considered trying Strawberry perl ? It's built using the MinGW compiler - and both the MinGW compiler and dmake ship with it. By installing PPM you can also then install the ppm packages that are available (if you want to).
Or maybe even build perl yourself from source using MinGW and dmake ... it's not that difficult.
Cheers, Rob Update: Actually, with either a decent version of nmake (ie 7.0) or dmake, you shouldn't need to use ExtUtils::FakeConfig with recent versions of ActivePerl - though I haven't personally tested wrt Tk. There's a good chance it would build successfully with just 'perl Makefile.PL', '*make test', and '*make install'. | [reply] |
I had the same problem. Getting a newer version of NMake fixed it.
Seems like you can't get a standalone version of NMake newer than the 1.5 (every site links to this old download). Fortunately you may download for example a recent Visual Studio Express (which is a free download) and get NMake from here (it's then located in <visual_install_directory\VC\bin\nmake.exe>).
Hope this will Help.
For your information, I got nmake version "9.00.30729.01" from Visual Studio Express 9.
| [reply] |
The README.win32 that comes with perl-5.8.8 has good guide to setting up various compiler environments etc. for the purposes of compiling perl on MSWin32, but the advice will work for compiling perl modules as well.
On my machine, NMAKE.EXE appears in the Bin folder of the Platform SDK, if that helps.
| [reply] |
| [reply] |
mnooning,
If you can find someone with the 7.x version of the nmake.exe I would suggest that. You only need the executable and no other files. It is available from Microsoft in the MSVC toolkit if you can't find anyone. I do want to point out there are other alternatives as mentioned in this thread (dmake and MinGW).
I thought AS shipped with Tk? Even if it doesn't ship with the most up to date version, ppm should be able to find a precompiled version of what you want. That is of course if you are still unsuccessful at compiling it yourself.
| [reply] |
Oh, my! With the new ppm, I can see that Tk is already installed.
Yes, it really does come with perl 5.8.8. With the newest patch -r6,
too!
In the future, with each new perl, I'll look to see what needs
reinstalled.
Still, some kind soul emailed me nmake version 7.10, which I need
anyway. Thanks Sisyphus.
| [reply] |