Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Strawberry Perl Manual Install

by VinsWorldcom (Prior)
on Feb 23, 2015 at 21:21 UTC ( #1117584=note: print w/replies, xml ) Need Help??


in reply to Strawberry Perl Manual Install

The .bat Windows batch file will not run with \perl\bin\perl.exe. You'll need to run it by itself:

C:\> relocation.pl.bat

I've installed Strawberry from ZIP with no issues. However, I also did it with the MSI first. The issue you may face is by not using the MSI, your PATH won't be updated, your PATHEXT won't be updated, PL files won't be associated with perl and Windows won't be able to find your installation of Perl.

After my first MSI install, I move the c:\strawberry folder to c:\strawberry-5.min.version.ext where it reflects the Perl version and type (e.g., strawberry_5.18.1-MSWin32-x64-multi-thread). Then I use junction.exe or mklink command to create a junction from c:\strawberry to the actual directory. Now I can install the ZIP versions of any and all Perl's I want in similar c:\strawberry-5.min.version.ext directories and just change the junction and perl.exe and PATH are always found and accurate.

It's a sort of home grown 'perlbrew' for Windows.

Replies are listed 'Best First'.
Re^2: Strawberry Perl Manual Install
by moz (Novice) on Feb 23, 2015 at 21:45 UTC

    Thank you for the quick replies. My error was I was using the wrong .zip file. I forgot my system was 32 bit. After using the correct file, unzipping into a directory and running the relocation.pl.bat and update_env.pl.bat scripts got everything working nicely. The .msi is a nicer way to go but I am integrating it as part of a larger scriptable toolset. Thanks again. <\p>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2020-12-04 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (58 votes). Check out past polls.

    Notices?