Sunday 25 March 2012

Strawberry Perl : Portable Version Installation (5.14)

If you choose to use the portable version (.zip) version or you move the folder then the folder paths in Strawberry Perl will not be correct. The default path is:

C:\Strawberry\

Now I like to install in

F:\Programs\StrawberryPerl\

The solution is to change the instance of C:\Strawberry path in the following files.

If you want to verify this just AstroGrep (or any search tool) and search for the following:
c:\strawberry
c:\\strawberry
c:/strawberry

The files you will probably need to change are:

The following are required for CPAN to work!


F:\Programs\strawberryPerl\perl\lib\CORE\config.h
From: C:\\strawberry
To  : D:\\Programs\\strawberryPerl <your path>


F:\Programs\strawberryPerl\perl\lib\CPAN\Config.pm
From: C:/strawberry
To  : D:/Programs/strawberryPerl <your path>
And
From: C:\\strawberry
To  : D:\\Programs\\strawberryPerl <your path>


The followng are probably for the build process
From: C:\strawberry
To  : D:\Programs\strawberryPerl <your path>


D:\Programs\strawberryPerl\perl\lib\CPANPLUS\Config.pm
D:\Programs\strawberryPerl\perl\lib\perllocal.pod
D:\Programs\strawberryPerl\perl\lib\Config_heavy.pl


The following Files are for the batch utilities:

Change required
From: C:\strawberry
To  : D:\Programs\strawberryPerl <your path>

D:\Programs\strawberryPerl\perl\bin\c2ph.bat
D:\Programs\strawberryPerl\perl\bin\config_data
D:\Programs\strawberryPerl\perl\bin\config_data.bat
D:\Programs\strawberryPerl\perl\bin\cpandb
D:\Programs\strawberryPerl\perl\bin\cpandb.bat
D:\Programs\strawberryPerl\perl\bin\find2perl.bat
D:\Programs\strawberryPerl\perl\bin\h2ph.bat
D:\Programs\strawberryPerl\perl\bin\h2xs.bat
D:\Programs\strawberryPerl\perl\bin\libnetcfg.bat
D:\Programs\strawberryPerl\perl\bin\perlbug.bat
D:\Programs\strawberryPerl\perl\bin\perldoc.bat
D:\Programs\strawberryPerl\perl\bin\perlivp.bat
D:\Programs\strawberryPerl\perl\bin\perlthanks.bat
D:\Programs\strawberryPerl\perl\bin\pl2pm.bat
D:\Programs\strawberryPerl\perl\bin\pod2html.bat
D:\Programs\strawberryPerl\perl\bin\pod2latex.bat
D:\Programs\strawberryPerl\perl\bin\pod2man.bat
D:\Programs\strawberryPerl\perl\bin\pod2text.bat
D:\Programs\strawberryPerl\perl\bin\prove.bat
D:\Programs\strawberryPerl\perl\bin\psed.bat
D:\Programs\strawberryPerl\perl\bin\pstruct.bat
D:\Programs\strawberryPerl\perl\bin\s2p.bat
D:\Programs\strawberryPerl\perl\bin\splain.bat

The following (no idea)
Change required
From: C:\strawberry
To  : D:\Programs\strawberryPerl
D:\Programs\strawberryPerl\win32\CPAN Module Search.url
D:\Programs\strawberryPerl\win32\Learning Perl (tutorials, examples).url
D:\Programs\strawberryPerl\win32\Live Support (chat).url
D:\Programs\strawberryPerl\win32\Perl 5.14 Documentation.url
D:\Programs\strawberryPerl\win32\Strawberry Perl Release Notes.url
D:\Programs\strawberryPerl\win32\Strawberry Perl Website.url
D:\Programs\strawberryPerl\win32\Win32 Perl Wiki.url
D:\Programs\strawberryPerl\strawberry-ui.reloc.txt
D:\Programs\strawberryPerl\strawberry-merge-module.reloc.txt

No comments:

Post a Comment