Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^4: strawberry perl library path?

by syphilis (Bishop)
on Apr 17, 2008 at 06:57 UTC ( #681021=note: print w/replies, xml ) Need Help??

in reply to Re^3: strawberry perl library path?
in thread strawberry perl library path?

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 ?


Replies are listed 'Best First'.
Re^5: strawberry perl library path?
by Anonymous Monk on Apr 17, 2008 at 07:41 UTC
    LIB/INCLUDE are compiler variables
      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.

        From memory, there are some Makefile.PL scripts that assume Win32 == ActivePerl + Microsoft Compiler.

        So they look for LIB/INCLUDE and then convert them to other things that get passed to MinGW.

        That may well be resolved now though, I'll rip those environment variables out of Perl::Dist and see if it fails.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://681021]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2020-05-29 21:00 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (171 votes). Check out past polls.