From: Dilbert on
With Windows 32 bits Activestate perl 5.10, I used to have (and
enjoy !) the "MinGW" package.

see
http://www.openkomodo.com/blogs/troyt/ppm-install-mingw

>> install MinGW
>> Submitted by troyt on Wed, 01/28/2009 - 17:06.
>> Tags: activeperldmakegccMinGWperlppmwindows
>>
>> Here's a really cool development for ActivePerl
>> users on Windows. MinGW is now available from the
>> ActiveState PPM repository:
>>
>> C:\>ppm install MinGW
>>
>> This installs the MinGW tools (gcc, dlltool, ar, etc.)
>> and dmake in ActivePerl's 'site/bin' directory.

However, I have now migrated to Windows 32 bits ActiveState Perl 5.12,
and the MinGW package seems to have disappeared !

C:\>ppm install MinGW
ppm install failed: Can't find any package that provides MinGW

What a lovely package "MinGW" was for Windows 32 bits ActiveState Perl
5.10, I hope it will be available soon for Windows 32 bits ActiveState
Perl 5.12 !!!

(...and, while we're on the subject, if possible, also for Windows 64
bits ActiveState Perl 5.12, too, but I think that it would be
difficult to find a 64 bit version of MinGW ... )
From: Ben Morrow on

Quoth Dilbert <dilbert1999(a)gmail.com>:
> With Windows 32 bits Activestate perl 5.10, I used to have (and
> enjoy !) the "MinGW" package.
>
> see
> http://www.openkomodo.com/blogs/troyt/ppm-install-mingw
>
> >> install MinGW
> >> Submitted by troyt on Wed, 01/28/2009 - 17:06.
> >> Tags: activeperldmakegccMinGWperlppmwindows
> >>
> >> Here's a really cool development for ActivePerl
> >> users on Windows. MinGW is now available from the
> >> ActiveState PPM repository:
> >>
> >> C:\>ppm install MinGW
> >>
> >> This installs the MinGW tools (gcc, dlltool, ar, etc.)
> >> and dmake in ActivePerl's 'site/bin' directory.
>
> However, I have now migrated to Windows 32 bits ActiveState Perl 5.12,

Really? THat was quick...

> and the MinGW package seems to have disappeared !

5.12 we released, what, yesterday? So I would expect the ppms to be
behind a little.

> C:\>ppm install MinGW
> ppm install failed: Can't find any package that provides MinGW
>
> What a lovely package "MinGW" was for Windows 32 bits ActiveState Perl
> 5.10, I hope it will be available soon for Windows 32 bits ActiveState
> Perl 5.12 !!!
>
> (...and, while we're on the subject, if possible, also for Windows 64
> bits ActiveState Perl 5.12, too, but I think that it would be
> difficult to find a 64 bit version of MinGW ... )

64bit MinGW exists, and can be used to build perl. I've no idea if it's
compatible with whatever compiler AS use for their 64bit builds.

Ben

From: sisyphus on
On Apr 17, 1:52 am, Dilbert <dilbert1...(a)gmail.com> wrote:
> With Windows 32 bits Activestate perl 5.10, I used to have (and
> enjoy !) the "MinGW" package.

>
> However, I have now migrated to Windows 32 bits ActiveState Perl 5.12,
> and the MinGW package seems to have disappeared !
>
> C:\>ppm install MinGW
> ppm install failed: Can't find any package that provides MinGW
>

As Ben said, the ppm repo for 5.12 isn't fully stocked yet.
In the meantime, if you've still got the 5.10 installation sitting
there, you can use its MinGW and dmake with 5.12. It's just a matter
of adding the perl-5.10/site/bin folder to the *end* of the path.

Or you can grab and install MinGW and dmake yourself - without using
ppm. (I think 'ppm' makes it a bit simpler, but.)

> (...and, while we're on the subject, if possible, also for Windows 64
> bits ActiveState Perl 5.12, too, but I think that it would be
> difficult to find a 64 bit version of MinGW ... )

You'll get MinGW64 easy enough at http://mingw-w64.sourceforge.net/ -
though, as I write this, it seems that the site is undergoing an
upgrade.

Unfortunately, mingw64 won't work straight out of the box with x64
ActivePerl. Coincidentally, I've been hacking at this today. Having
got everything to the stage where extensions would build, pass their
tests, and install just fine, I then found that there can be weird
runtime failures when DynaLoader tries to load the extension's dll.
(Only seems to affect some extensions - and even then only under
certain conditions ... I really can't yet make much sense of what's
happening.)

In short, for the moment at least, you'd be better off grabbing the
freely available "Microsoft Platform SDK for Windows Server 2003 R2"
compiler and using it with the x64 ActivePerl builds (irrespective of
which version of Windows 64 you're running). That's the same compiler
as was used to build the x64 ActiveState perls, and it therefore works
very well with those builds.

Cheers,
Rob

From: Dilbert on
On 17 avr, 10:36, sisyphus <sisyphus...(a)gmail.com> wrote:
> On Apr 17, 1:52 am, Dilbert <dilbert1...(a)gmail.com> wrote:
>
> > With Windows 32 bits Activestate perl 5.10, I used to have (and
> > enjoy !) the "MinGW" package.
>
> > However, I have now migrated to Windows 32 bits ActiveState Perl 5.12,
> > and the MinGW package seems to have disappeared !
>
> > C:\>ppm install MinGW
> > ppm install failed: Can't find any package that provides MinGW
>
> As Ben said, the ppm repo for 5.12 isn't fully stocked yet.
> In the meantime, if you've still got the 5.10 installation sitting
> there, you can use its MinGW and dmake with 5.12. It's just a matter
> of adding the perl-5.10/site/bin folder to the *end* of the path.
>
> Or you can grab and install MinGW and dmake yourself - without using
> ppm. (I think 'ppm' makes it a bit simpler, but.)

> You'll get MinGW64 easy enough athttp://mingw-w64.sourceforge.net/-
> though, as I write this, it seems that the site is undergoing an
> upgrade.
>
> Unfortunately, mingw64 won't work straight out of the box with x64
> ActivePerl. Coincidentally, I've been hacking at this today. Having
> got everything to the stage where extensions would build, pass their
> tests, and install just fine, I then found that there can be weird
> runtime failures when DynaLoader tries to load the extension's dll.
> (Only seems to affect some extensions - and even then only under
> certain conditions ... I really can't yet make much sense of what's
> happening.)
>
> In short, for the moment at least, you'd be better off grabbing the
> freely available "Microsoft Platform SDK for Windows Server 2003 R2"
> compiler and using it with the x64 ActivePerl builds (irrespective of
> which version of Windows 64 you're running). That's the same compiler
> as was used to build the x64 ActiveState perls, and it therefore works
> very well with those builds.

Thanks very much to Ben and sisyphys for their reply, the 64 bits in
particular is very interesting (...and I admit, asking for the
complete PPM repository 24 hours after the release of Perl 5.12 is a
bit excessive...).

I will follow their advice.
From: Dilbert on
On 17 avr, 10:36, sisyphus <sisyphus...(a)gmail.com> wrote:
> On Apr 17, 1:52 am, Dilbert <dilbert1...(a)gmail.com> wrote:
>
> > With Windows 32 bits Activestate perl 5.10, I used to have (and
> > enjoy !) the "MinGW" package.
>
> > However, I have now migrated to Windows 32 bits ActiveState Perl 5.12,
> > and theMinGWpackage seems to have disappeared !
>
> > C:\>ppm installMinGW
> > ppm install failed: Can't find any package that providesMinGW
>
> As Ben said, the ppm repo for 5.12 isn't fully stocked yet.
>
> > (...and, while we're on the subject, if possible, also for Windows 64
> > bits ActiveState Perl 5.12, too, but I think that it would be
> > difficult to find a 64 bit version ofMinGW... )
>
> You'll get MinGW64 easy enough athttp://mingw-w64.sourceforge.net/-
> though, as I write this, it seems that the site is undergoing an
> upgrade.
>
> Unfortunately, mingw64 won't work straight out of the box with x64
> ActivePerl. Coincidentally, I've been hacking at this today. Having
> got everything to the stage where extensions would build, pass their
> tests, and install just fine, I then found that there can be weird
> runtime failures when DynaLoader tries to load the extension's dll.
> (Only seems to affect some extensions - and even then only under
> certain conditions ... I really can't yet make much sense of what's
> happening.)
>
> In short, for the moment at least, you'd be better off grabbing the
> freely available "Microsoft Platform SDK for Windows Server 2003 R2"
> compiler and using it with the x64 ActivePerl builds (irrespective of
> which version of Windows 64 you're running). That's the same compiler
> as was used to build the x64 ActiveState perls, and it therefore works
> very well with those builds.

I know, I can get MinGW64 at http://mingw-w64.sourceforge.net/ or I
can grab the freely available "Microsoft Platform SDK for Windows
Server 2003 R2", but I like the "no brain, no pain" philosophy of a
"ppm install MinGW". So I tried "ppm install MinGW" on Activestate
Perl 5.12 - Windows 64 bits, but there is still no MinGW Package
available for 64 bits on the Activestate repo.

Then I tried "ppm install MinGW" on Perl 5.12 - Windows 32 bits, and
guess what -- it worked.

Hurray, the MinGW Package for Perl 5.12 (Windows 32 bits) is now
available from the Activestate repo. -- *** A big thank you to all
those who made this possible !!! *** -- I don't take MinGW for granted
(next step for me is to test CPANPLUS with Activestate Perl 5.12 to
install xs based modules under Windows)

Anyway, here is proof that "ppm install MinGW" on Perl 5.12 (Windows
32 bits) really did work:

C:\>perl -v

This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-
x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2010, Larry Wall

Binary build 1200 [292396] provided by ActiveState http://www.ActiveState.com
Built Apr 11 2010 11:30:56

C:\>ppm install MinGW

Downloading ActiveState Package Repository packlist...done
Updating ActiveState Package Repository database...done
Syncing site PPM database with .packlists...done
Syncing perl PPM database with .packlists...done
Downloading MinGW-5.1.4.1...done
Downloading dmake-4.11.20080107...done
Unpacking MinGW-5.1.4.1...done
Unpacking dmake-4.11.20080107...done
Generating HTML for MinGW-5.1.4.1...done
Generating HTML for dmake-4.11.20080107...done
Updating files in site area...done
1070 files installed

C:\>