Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: strawberry perl library path?

by adrive (Scribe)
on Apr 18, 2008 at 01:40 UTC ( #681352=note: print w/replies, xml ) Need Help??


in reply to strawberry perl library path?

thanks guys, it seems that editing both config.pm and config_heavy.pl 's perl path will work.

here are the steps in point form in case others need it :
(below is based on assumption your shebang is #!/usr/bin/perl, and that you want to move perl to another location while retaining strawberry's compilers in strawberry folder)

1. Move bin, lib and site folder of strawberry/perl/ to c:/usr/
2. Edit usr/lib/config_heavy.pl and change all reference of strawberry's perl to usr.

for example :
archlib='C:\strawberry\perl\lib'

change to :
archlib='C:\usr\lib'

note : but for those that's not related to perl, don't change it unless u plan to move strawberry. Examples are :

incpath='C:\strawberry\c\include'

3. Edit usr/lib/config.pm as well.
*same as point 2.

4. Make sure the PATH environment is pointing to usr/bin.
you should then be able to use strawberry perl properly without errors.

Replies are listed 'Best First'.
Re^2: strawberry perl library path?
by Anonymous Monk on May 11, 2009 at 11:05 UTC
    Thanks for info, I always do not like to install something at / on Windows. Seems to be running after adaption. If I run in trouble, I will post it here.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2020-05-31 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?