Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^4: PAR::Packer fails to install

by swl (Priest)
on Sep 14, 2020 at 04:03 UTC ( #11121711=note: print w/replies, xml ) Need Help??

in reply to Re^3: PAR::Packer fails to install
in thread PAR::Packer fails to install

Are the Strawberry perl dirs at the front of the path? e.g., in my case the first three entries are:

PATH=C:\berrybrew\5.32.0_64\perl\site\bin;C:\berrybrew\5.32.0_64\perl\ +bin;C:\berrybrew\5.32.0_64\c\bin;

I wonder if something else is getting in the way? The Git for Windows MSYS shell has caused problems in the past, for example.

Replies are listed 'Best First'.
Re^5: PAR::Packer fails to install
by syphilis (Bishop) on Sep 14, 2020 at 04:36 UTC
    Are the Strawberry perl dirs at the front of the path?

    If you've installed Strawberry Perl from the .msi installer, then the answer is "no". This is something that has created problems in the past
    AFAIK, that installer always places the Strawberry perl dirs at the end of the path.
    This makes it tricky if you have multiple perls and/or multiple anything-that-is-included-in-strawberry/c/bin.

    It makes far better sense to run a portableshell.bat (or similar) which puts everything at the beginning of the PATH.
    That way, even if there is another compiler (or whatever) in the PATH, perl is still using the one that it's meant to use.

    I go one step further and make sure that there is no perl or C compiler in my PATH, until I run a batch script (eg portableshell.bat) that places the perl/compiler combination of my choice at the start of the PATH.


      Yes the path is the issue, and yes I installed using the .msi. I'm using berrybrew at home now so maybe I'll have fewer problems for stuff I care about. Since this was more about exploring another Monk's problem I'll not bother fixing it on my work machine and hope that when I encounter the problem next time I'll remember! (Fat chance!)

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2021-04-11 20:43 GMT
Find Nodes?
    Voting Booth?

    No recent polls found