i can't seem to understand how to change strawberry's library path.
Since it doesn't give me an option where to install my strawberry, perl was automatically put under c:/strawberry/perl
the thing is since im using apache 2 and windowsxp, all my existing perl projects shebangs are under #!/usr/bin/perl so i tried moving strawberry perl's bin, lib and site folders into c:/usr folder.
then in my system's environmental variable :
INCLUDE = ;C:\strawberry\c\include;C:\usr\lib\CORE;
LIB = ;C:\strawberry\c\lib;C:\usr\bin;
PATH = C:\usr\bin;
and even added this :
PERL5LIB = C:\usr\site\lib;
Then in my C:\usr\lib\config.pm file i changed the last section :
tie %Config, 'Config', {
archlibexp => 'C:\\usr\\lib',
archname => 'MSWin32-x86-multi-thread',
cc => 'gcc',
d_readlink => undef,
d_symlink => undef,
dlsrc => 'dl_win32.xs',
dont_use_nlink => undef,
exe_ext => '.exe',
inc_version_list => '',
intsize => '4',
ldlibpthname => '',
libpth => 'C:\\strawberry\\c\\lib',
osname => 'MSWin32',
osvers => '5.1',
path_sep => ';',
privlibexp => 'C:\\usr\\lib',
scriptdir => 'C:\\usr\\bin',
sitearchexp => 'C:\\usr\\site\\lib',
sitelibexp => 'C:\\usr\\site\\lib',
useithreads => 'define',
usevendorprefix => undef,
version => '5.10.0',
};
but still..once i installed my module through cpan, my packages were included inside C:\strawberry\perl\site\lib\ instead.
how should i change this so that it'll auto install into C:\usr\lib\ ??
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.