X-Recipient: archive-cygwin@delorie.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@mail.gmail.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 <rcsaba@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

