[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: $Config{ccflags} not set



* gregor herrmann:

> On Thu, 24 Nov 2011 13:51:13 +0000, Florian Weimer wrote:
>
>> > But from the build log, I can see that $Config{ccflags} is apparently
>> > expanded to nothing at all.  Is there any other way I can get the flags
>> > I need to stuff into CCFLAGS?
>> It turned that this was caused by a missing "use Config;".  Kind of
>> obvious, but only in retrospect.
>
> Probably combined with a missing "use strict;" :)

Right.  Probably because neither ExtUtils::MakeMaker::Tutorial nor
perlxstut mention it, and h2xs doesn't generate it, either.

(I'm not familiar with the upstream bug tracker, otherwise I would file
a wishlist item there.)

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


Reply to: