in reply to Adding Modules to Non-Standard Locations in Solaris 8
From the Extutils::MakeMaker docs:
Conflicts between parameters LIB, PREFIX and the various INSTALL* arguments are resolved so that:That might sound convoluted on first read, but what it means is that PREFIX *should* set everything, but LIB will override PREFIX should you so desire -- this allows you to send the pods, etc, off to somewhere besides where the actual modules reside.
- setting LIB overrides any setting of INSTALLPRIVLIB, INSTALLARCHLIB, INSTALLSITELIB, INSTALLSITEARCH (and they are not affected by PREFIX);
- without LIB, setting PREFIX replaces the initial $Config{prefix} part of those INSTALL* arguments, even if the latter are explicitly set (but are set to still start with $Config{prefix}).
I've used PREFIX to great effect on many systems, however it *will* break if your perl was not compiled properly. Depending on how the inital locations are defined some of this can end up being hard-coded and beyond the ken of PREFIX.
Matt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Adding Modules to Non-Standard Locations in Solaris 8
by beernuts (Pilgrim) on Apr 23, 2002 at 22:55 UTC |