Re: Problems on Windows with INC being overridden

[email protected] ("Sisyphus")
Newsgroups perl.makemaker
Message-ID <CCEBCEBE06814F408701DE8EAE1D5DE0@desktop2>
----- Original Message ----- 
From: "Martin Evans" <[email protected]>
To: <[email protected]>
Sent: Saturday, February 16, 2008 3:46 AM
Subject: Problems on Windows with INC being overridden


> Hi,
>
> I've only just read "MakeMaker is DOOMED" so perhaps I'm flogging a dead 
> horse but then again, it was dated 2003.
>
> Can anyone tell me if putting INC on the command line as in
>
> perl Makefile.PL INC=c:\fred

I would normally write that as:
perl Makefile.PL INC="-Ic:/fred"

Not sure about the need for quotes, but I think the '-I' is necessary if you 
want it to dwim.

>
> is supposed to override INC in the Makefile.PL?
>

I can't answer that exact question, but I can confirm that specifying INC 
via the command line *does* override what's supplied in the Makefile.PL via 
the INC option to WriteMakefile().

At least it does for me with EU::MM 6.42.

Cheers,
Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.