----- Original Message ----- From: "Sean Murphy" <mhysnm1...@gmail.com>
To: <beginners@perl.org>
Sent: Tuesday, January 18, 2011 9:23 PM
Subject: Windows 7 64 bit Make.exe file


Hi all.

I cannot install any CPAN libraries because CPAN complains that I don't have a 64 bit Make executible. I have installed the Express 2010 C++ package from Microsoft. It didn't help.

=========================================

If you have ActivePerl, CPAN will be wanting to find nmake.exe - and I would think nmake.exe would be part of the compiler package you installed.

Having installed that compiler, you then usually need to run a batch file (from the command line) prior to using it. That batch file (which ships with the compiler) will alter the environment so that things like nmake.exe, cl.exe and the various libraries and headers *do* get found. Only thing is, I don't know exactly what the batch file is called - maybe vcvarsall.bat or vcvars64.bat or vsvars64.bat or something like that ... See if you can find it and give it a try.

The ideal MS compiler to use with x64 ActivePerl builds is the "Microsoft Platform SDK for Windows Server 2003 R2", as that's the compiler used to build x64 ActivePerl. It's still freely available for download from Microsoft, but a bit tricky to get hold of - if you're not careful the "Microsoft Platform SDK for Windows Server 2003 R2" download links that you follow morph into links that give you an updated version of that compiler. (But it can be done if you find the right links.)

For x64 Windows perl builds especially, Strawberry Perl is a simpler proposition when it comes to installing modules using CPAN. (It uses the dmake make utility, and the mingw-w64.sf port of the gcc compiler.)

Cheers,
Rob

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to