CC: | Gisle Aas <gisle [...] ActiveState.com> |
Subject: | Hard-coded use of gcc-4 binary |
Date: | Sat, 08 Feb 2014 13:25:57 +0100 |
To: | bug-MIME-Base64 [...] rt.cpan.org |
From: | James Darnley <james.darnley [...] gmail.com> |
Show quoted text
> MIME::Base64 version 3.14
> Perl version 5.14.2
> CYGWIN_NT-6.1-WOW64 Bahamut 1.7.28(0.271/5/3) 2014-02-04 16:18 i686 Cygwin
The makefile is written with a hard-coded use of a binary called gcc-4.
This does not exist on my system causing the following error when
trying to install this module.
Show quoted text> /usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.14/ExtUtils/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c
> gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"3.14\" -DXS_VERSION=\"3.14\" "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE" Base64.c
> /bin/sh: gcc-4: command not found
> Makefile:330: recipe for target 'Base64.o' failed
If gcc 4 is really is required then a check that you have/are using gcc
4 should be done in some other part of this funky build system. My
opinion is it should be a check against gcc --version or a cpp check
that __GCC_MAJOR__ is greater than 3
Message body not shown because it is not plain text.