in reply to Re^2: strawberry perl library path? in thread strawberry perl library path?
LIB and INCLUDE are needed for installing CPAN modules that include XS. They have no impact otherwise.
The PATH variable is the only one that matters at run-time.
Also, instead of installing the strawberry executable, if you are moving things around, you might want to look at the zip archive instead of the installer.
Re^4: strawberry perl library path?
by syphilis (Archbishop) on Apr 17, 2008 at 06:57 UTC
|
LIB and INCLUDE are needed for installing CPAN modules that include XS
I can find no evidence of that - but it's something that can easily be settled. If the LIB and INCLUDE environment variables are cleared (set LIB= and set INCLUDE=) what gets broken ?
I've been running Strawberry with those variables unset for over a year (during which time I've installed numerous extensions) without any problems at all.
I've also tried adding to the search paths via the LIB and INCLUDE variables, but any aditional paths that are included in those variables are simply ignored. Afaict neither Strawberry Perl nor the MinGW installation that ships with it take any notice whatsoever of LIB and INCLUDE.
Can you provide some evidence to the contrary ?
Cheers, Rob | [reply] [d/l] [select] |
|
LIB/INCLUDE are compiler variables
| [reply] |
|
LIB/INCLUDE are compiler variables
Well ... yes ... specifically, they're Microsoft Compiler variables. But MinGW is *not* Microsoft and LIB and INCLUDE are *not* MinGW compiler variables.
Cheers, Rob
| [reply] |
|
|