in reply to Re^6: Strawberry CPAN.pm wrongly overrides INC in Makefile.PL
in thread Strawberry CPAN.pm wrongly overrides INC in Makefile.PL

The problem with stawberry perl is it sets INC on the command line

If that's the only problem, then it's easily fixed. That INC setting is made when Strawberry is installed - so it's just a matter of undoing that setting after Strawberry has been installed.

Elsewhere in this thread Anonymous Monk claimed that the removal of that setting caused problems. I don't see how that can be, and (s)he failed to provide details. I'm guessing that the latest Strawberry doesn't set the INC variable - and that's what adamk was alluding to. For any Strawberry build that *does* set that variable, I still fail to see any reason that it can't simply be removed. (Same goes for the 'LIB' environment variable.)

Did you try doing that ?

Cheers,
Rob
  • Comment on Re^7: Strawberry CPAN.pm wrongly overrides INC in Makefile.PL