in reply to Relocatable Perl 5.10.0 on Solaris
I'm confused. Either you mean something with "relocatable" that's different from what I mean, or I'm not understanding your configuration.
Your Linux configuration uses absolute directories for its @INC. This means that you can launch perl from any directory and it will find its libraries. But this also means that you cannot move perl or its directories to any other place. So, in my opinion, the Linux perl is not relocatable.
Your Solaris configuration uses relative directories for its @INC. This means that you can only launch perl from a directory where ../lib points to the Perl libraries. This also means that you can move perl around wherever you want to, as long as you invoke it from a directory in the right relative position. In this case, the Solaris perl is somewhat relocatable.
I think Unixish operating systems have a problem with determining the directory where an executable lives in and hence it's not really supported for a program to find out the directory it is living in to determine the place of library directories in relation to that path.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Relocatable Perl 5.10.0 on Solaris
by almut (Canon) on May 16, 2008 at 09:59 UTC | |
by Corion (Patriarch) on May 16, 2008 at 10:08 UTC | |
by Anonymous Monk on May 16, 2008 at 10:14 UTC | |
by Corion (Patriarch) on May 16, 2008 at 10:18 UTC | |
by Anonymous Monk on May 16, 2008 at 10:54 UTC | |
|
Re^2: Relocatable Perl 5.10.0 on Solaris
by Anonymous Monk on May 16, 2008 at 09:46 UTC | |
|
Re^2: Relocatable Perl 5.10.0 on Solaris
by Anonymous Monk on May 16, 2008 at 09:50 UTC |