in reply to Problem installing modules on Windows 7 64bit build (Active Perl 2.12.4)

I assume you must have installed a 64-bit Perl?

The reason why ppm install mingw doesn't work on 64-bit 5.12 (or any other 64-bit build) is explained here (by clicking the icons).

It comes down to: nobody at AS has either tried (or they have but failed to succeed) getting it to build.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Problem installing modules on Windows 7 64bit build (Active Perl 2.12.4)
  • Download Code

Replies are listed 'Best First'.
Re^2: Problem installing modules on Windows 7 64bit build (Active Perl 2.12.4)
by Anonymous Monk on Sep 19, 2011 at 21:13 UTC
      You would need to get it from http://mingw-w64.sourceforge.net/ for it to work :/

      Get what "it" for what "it" to work?

      The point is, if the OP had installed a 32-bit version of Perl 5.12, then that single, simple command ppm install mingw is (apparently) all that is required to install the mingw compiler and set it up to work such that cpan will build most compiled modules.

      As for getting anything from sourceforge, I'd rather have root canal work. That site is the single biggest OSS handicap there is. Trying to find what is there is next to impossible. Once you know something is there, it is neigh impossible to find out that that something is or does. If you lucky enough to find a link to something you know you want, working out what files to download is ludicrously hard. And then there is no information on what you should do with them; what dependencies you're going to need; how to put them all together and in what order.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
Re^2: Problem installing modules on Windows 7 64bit build (Active Perl 2.12.4)
by oldiebutgoodie (Initiate) on Sep 19, 2011 at 21:20 UTC

    Thanks BrowserUK, a relief to know I wasn't doing something stupid. Had actually come across that AS code/faq chart yesterday but didn't realise what it meant! Back to 32bit for now. Regards, Tom

      Back to 32bit for now

      It probably should be mentioned that, once you install a mingw64 compiler, you *can* use that compiler with 64-bit ActivePerl by installing ExtUtils::FakeConfig. (It's just ActiveState's automated integration of mingw that's broken for the x64 builds.)

      In addition to sourceforge, there's also a few mingw64 compilers available from the Strawberry Perl project.
      Specifically, you could take the link to 64_gcctoolchain and download one of the ~30Mb zip files.
      There's also some useful pre-built external libraries to be found in the 64 libs folder.

      (However, reverting to a 32-bit perl on your 64-bit box is not something you should fret about, IMHO.)

      Cheers,
      Rob
        That what I love about Strawberryperl project, great sitemap /sarcasm, all you have to do is wait X years for someone to post a link on perlmonks :)