X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Perl module installing issue Date: Fri, 12 Feb 2010 00:57:57 +0200 Message-ID: <1A59648031DED04385A772733B843A9391B6E0@CDCEXMAILBOX02.ad.btk.bg> In-Reply-To: <20100211071646.GA596@mimosa.garydjones.name> References: <1A59648031DED04385A772733B843A9391B62D AT CDCEXMAILBOX02 DOT ad DOT btk DOT bg> <20100211071646 DOT GA596 AT mimosa DOT garydjones DOT name> From: Ivaylo Terziyski To: "Gary" , X-IsSubscribed: yes 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 After installing package gcc4-g++ everything is OK. -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Gary Sent: Thursday, February 11, 2010 9:17 AM To: cygwin AT cygwin DOT com Subject: Re: Perl module installing issue On Thu, Feb 11, 2010 at 12:13:50AM +0200, Ivaylo Terziyski wrote: >=20 > Installing perl module with perl -MCPAN -e "shell": >=20 >=20 > CPAN.pm: Going to build R/RG/RGIERSIG/IO-Tty-1.08.tar.gz >=20 > Now let's see what we can find out about your system > (logfiles of failing tests are available in the conf/ dir)... >=20 > ERROR: cannot run the configured compiler 'gcc' > (see conf/compilerok.log). Suggestions: > 1) The complier 'gcc' is not in your PATH. Add it > to the PATH and try again. OR > 2) The compiler isn't installed on your system. Install it. OR > 3) You only have a different compiler installed (e.g. 'gcc'). > Either fix the compiler config in the perl Config.pm > or install a perl that was built with the right compiler > (you could build perl yourself with the available compiler). >=20 > Note: this is a system-administration issue, please ask your local > admin for help. Thank you. >=20 > In file conf/compilerok.log I have only this > cc1: error: unrecognized command line option "-fstack-protector" > I have installed gcc,gcc-g++ and make. >=20 > Any suggestions ? Have you tried running gcc from the command line? Have a look at the thread started at http://cygwin.com/ml/cygwin/2010-01/msg01228.html maybe your case is related. What does cygcheck `which gcc` reveal, if anything? It should be something like $ cygcheck `which gcc` -> C:\cygwin\etc\alternatives\gcc -> C:\cygwin\bin\gcc-4.exe C:\cygwin\bin\gcc-4.exe C:\cygwin\bin\cyggcc_s-1.dll (and more dlls) I think. I'm surprised about the error in the compilerok.log, -fstack-protector was introduced as a patch sometime during the lifetime of gcc 3 (whether it was ever introduced into the official Cygwin package I don't know, however) and then in the main build in gcc 4. Maybe you have an old version of gcc/cc1? -- 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 -- 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