Re: [Citrus Perl] Trouble Installing GCC

60 views
Skip to first unread message

Citrus Support

unread,
Oct 24, 2012, 7:21:56 AM10/24/12
to citru...@googlegroups.com
Hi,

I have no idea what is causing the problem. You should not need admin
privileges with Citrus Perl or mingw.

You can install GCC manually by going to

https://sourceforge.net/projects/perlmingw/files/

Then download the

mingw-w64-for-perl-20121012-4.6.3.zip

or 7z manually.

Extract and then in Citrus Utils use the option to select an existing
installation of MinGW, rather than downloading it.

Hope it helps.

If you are interested in tracking what actually happens to cause the
failure, the code is at

vendor/lib/Citrus/Utils/Handler/MinGW.pm
line 241

and

vendor/lib/CP/Wx/ProgressTask.pm
line 149

Basically Citrus runs the command

unzip -o mingw-w64-for-perl-20121012-4.6.3.zip -d C:/Perl/mingw

and says that this returns a none zero exit code = error.

Maybe it does return none zero or maybe the code in the WX::Perl
ProcessStream handlers interprets exit incorrectly.

Regards

Mark














Mark


On 24/10/2012 08:05, Garrett Sparks wrote:
> Hi, I'm using version 5.16017 and I am unable to install the MinGW
> distribution.
>
> I have never really done any development on Windows, so far it's only been
> Linux, and I'm trying to do the option "Download the binary MinGW
> distribution ..." rather than pointing to an existing version.
>
> The package downloads the mingw-w64-for-perl zip file, but when I tell it
> to extract to a directory in C:/perl/mingw/ it goes through the "inflating"
> process, and then gives the following error. "The task did not complete
> successfully".
>
> The details say "Failed to extract MinGW to selected directory".
>
> I have tried running in Administrator mode, and I have tried multiple
> installation locations, including C:/perl/mingw/ as well as my user
> directory.
>
> Any hints as to what I might be missing?
>
> Thanks,
>
> Garrett
>

Garrett Sparks

unread,
Oct 25, 2012, 3:45:59 AM10/25/12
to citru...@googlegroups.com
I ended up using the manual installation.  Working now.  Thanks

-Garrett
Reply all
Reply to author
Forward
0 new messages