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

Re^5: PAR::Packer fails to install

by syphilis (Archbishop)
on Sep 14, 2020 at 04:36 UTC ( [id://11121713]=note: print w/replies, xml ) Need Help??


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

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.

Cheers,
Rob

Replies are listed 'Best First'.
Re^6: PAR::Packer fails to install
by GrandFather (Saint) on Sep 14, 2020 at 04:47 UTC

    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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found