This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: CPAN module can't be compiled after upgraded to Cygwin 1.7.5
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin at cygwin dot com, lenik at bodz dot net
- Date: Wed, 28 Jul 2010 17:13:28 +0200
- Subject: Re: CPAN module can't be compiled after upgraded to Cygwin 1.7.5
- References: <i2pg1f$5jl$1@dough.gmane.org>
On Wed, Jul 28, 2010 at 4:49 PM, Lenik wrote:
> $ cpan
>
>> install Crypt::DES
> ...
> ...
> Writing Makefile for Crypt::DES
> cp DES.pm blib/lib/Crypt/DES.pm
> /usr/bin/perl.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp ?-typemap
> /usr/lib/perl5/5.10/ExtUtils/typemap -typemap typemap ?DES.xs > DES.xsc &&
> mv DES.xsc DES.c
> gcc -c ? -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"2.05\"
> -DXS_VERSION=\"2.05\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" ? DES.c
> cc1: error: unrecognized command line option "-fstack-protector"
Hi Lenik,
This means that your GCC is version 3; -fstack-protector is for GCC 4.
You need to make sure that the gcc4 package is installed; then use the
"alternatives" program to make GCC4 the default.
This has come up before. Check the mailing list archives.
--
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple