Skip Menu |
 

This queue is for tickets about the ExtUtils-Install CPAN distribution.

Report information
The Basics
Id: 54441
Status: open
Priority: 0/
Queue: ExtUtils-Install

People
Owner: Nobody in particular
Requestors: info [...] gwendragon.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Warning about missing C compiler thrown (ExtUtils-Installed 1.999_001)
Download (untitled) / with headers
text/plain 866b
Using ExtUtils::Installed throws error about missing C compiler. * Package * ExtUtils-Installed 1.999_001 from module ExtUtils-Install 1.54 * Perlversion * Perl 5.10.1 (ActiveState Perl Build 1006) on Windows 7 Ult. * Howto reproduce * In Windows-DOS-Console (see example below): ====<snip>==== U:\>perl510 -MExtUtils::Installed -e "print $ExtUtils::Installed::VERSION" It looks like you don't have a C compiler on your PATH, so you will not be able to compile C or XS extension modules. You can install GCC from the MinGW package using the Perl Package Manager by running: ppm install MinGW 1.999001 U:\> ====<snip>==== * Code to reproduce * ====<snip>==== #perl use ExtUtils::Installed; ====<snip>==== * Solution * No patch. Sorry. The module seems to use Config.pm. Config.pm processes the warning about the missing compiler in line 391.
Subject: Re: [rt.cpan.org #54441] Warning about missing C compiler thrown (ExtUtils-Installed 1.999_001)
Date: Tue, 09 Feb 2010 13:58:39 -0800
To: bug-ExtUtils-Install [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Download (untitled) / with headers
text/plain 1.4k
info@gwendragon.de via RT wrote: Show quoted text
> Using ExtUtils::Installed throws error about missing C compiler. > > * Package * > ExtUtils-Installed 1.999_001 > from module ExtUtils-Install 1.54 > > * Perlversion * > Perl 5.10.1 (ActiveState Perl Build 1006) on Windows 7 Ult. > > * Howto reproduce * > > In Windows-DOS-Console (see example below): > ====<snip>==== > U:\>perl510 -MExtUtils::Installed -e "print > $ExtUtils::Installed::VERSION" > > It looks like you don't have a C compiler on your PATH, so you will not > be > able to compile C or XS extension modules. You can install GCC from the > MinGW package using the Perl Package Manager by running: > > ppm install MinGW > > 1.999001
This looks like an ActiveState specific patch, judging from their change log. http://docs.activestate.com/activeperl/5.10/changes.html On 32-bit Windows the CPAN shell will automatically download and install the MinGW GCC compiler and the dmake utility if it cannot find a C compiler and make utility on the PATH. In other situations (e.g. when you run perl Makefile.PL from the commandline) ActivePerl will only display a warning and information how to manually install the MinGW compiler. AS doesn't make the source of older builds available so I can't be sure, but nothing like that warning appears in the source for build 1007. Upgrading may make it go away. -- 40. I do not have super-powers. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.