This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7 - Problem installing perl modules


On Tue, Mar 9, 2010 at 8:12 PM, Robert Slater wrote:
> Hi there,
>
> In the process of installing perl modules to get an IRC bot working
> via cygwin, I'm encountering a
> problem with make & installing ExtUtils::CBuilder and thus the modules
> that depend upon it. The
> make / install goes through fine, but cygwin doesn't seem to detect it
> afterwards.
>

cc1: error: unrecognized command line option "-fstack-protector"

This is a command line option which only GCC 4 understands. You only
have GCC 3 installed.

You need to install the gcc-4 package. You may also need to change the
default gcc to gcc-4 using the "alternatives" tool (man alternatives),
or force Perl to use GCC 4. This may work (untested)

CC=gcc-4 perl Build.pl

-- 
Life is complex, with real and imaginary parts

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]