X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <5e9b3bd91003091112p7361f641k4907808f8c0bd270@mail.gmail.com> References: <5e9b3bd91003091112p7361f641k4907808f8c0bd270 AT mail DOT gmail DOT com> Date: Thu, 11 Mar 2010 09:58:26 +0100 Message-ID: <1ef5a52f1003110058t5ebd8214i1e21ffe560638a05@mail.gmail.com> Subject: Re: 1.7 - Problem installing perl modules From: Csaba Raduly To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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