Skip Menu |

This queue is for tickets about the MIME-Base64 CPAN distribution.

Report information
The Basics
Id: 92849
Status: rejected
Priority: 0/
Queue: MIME-Base64

People
Owner: Nobody in particular
Requestors: james.darnley [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Download signature.asc
application/pgp-signature 683b

Message body not shown because it is not plain text.

On Sat Feb 08 07:26:25 2014, james.darnley@gmail.com wrote:
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.

There is no compiler hardcoded in modules like MIME-Base64.  The "gcc-4" must come from the compiler that your perl was built with.  See 'perl -V' for info about how your perl is built/configured.

If you don't have this compiler, I suggest you recompile perl (or grab a pre-built version like ActivePerl).


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