[Pdx-pm] Mac OS X 10.3
tex at off.org
Wed Nov 12 12:46:37 CST 2003
On Wed, Nov 12, 2003 at 10:54:49PM -0800, Michael G Schwern wrote:
> On Wed, Nov 12, 2003 at 09:39:37PM -0800, John Springer wrote:
> > This is Jaguar-oriented, but probably still useful:
> > (How to install perl 5.8 on Jaguar)
> > http://developer.apple.com/internet/macosx/perl.html
> I would recommend against changing the system perl on any machine. Leave
> /usr/bin/perl alone and don't overwrite /System/Library/Perl. Its likely
> to cause pain and suffering and pain.
> If you want a newer Perl, install it into /usr/local/perl5.x.y and put a
> symlink in /usr/local/bin. Configure it so that /Library/Perl is added when
> it asks you for extra directories for @INC.
..and after you do that you may want to put /usr/local/bin into your
PATH ahead of your current PATH, e.g. in .profile:
PATH=/usr/local/bin:$PATH; export PATH;
Also on some machines I've used the sysadmins neglect to link
/usr/local/bin/perldoc -> /usr/local/perl5.x.y/bin/perldoc. That can be quite
bothersome when you are trying to read documentation for modules in the
Also another thing that's worked for me is to install it as
/usr/local/bin/perl5 or perl5.8, so if you remember the name you can't confuse
the two, even if you wind up using an account without /usr/local/bin in its
PATH first. Ditto for perldoc, etc.
Seems like this is in a faq somewhere, but my lack of coffee this
morning isn't helping me find it.
More information about the Pdx-pm-list