Re: Leopard Upgrade Killed my Modules
[email protected] (Robert Hicks)
| Newsgroups | perl.macosx |
|---|---|
| Message-ID | <[email protected]> |
brian d foy wrote: > In article <[email protected]>, Elton > Hughes <[email protected]> wrote: > >> Hello All, >> >> I upgraded to Mac OSX 10.5, using the upgrade option, and the modules >> I downloaded from CPAN are now missing. > > You probably had them installed in Mac OS X's Perl directories. > > I install my own perls (and have many installed) each with their own > roots: > > $ ls -l /usr/local/perls > drwxr-xr-x 5 root wheel 170 Dec 2 12:13 perl-5.10.0-rc2 > drwxrwxr-x 5 brian wheel 170 Mar 14 2007 perl-5.6.2 > drwxrwxr-x 5 brian wheel 170 Sep 22 13:02 perl-5.6.2-dist > drwxrwxr-x 6 brian wheel 204 Apr 10 2007 perl-5.8.8-for-pugs > drwxr-xr-x 5 brian wheel 170 Feb 22 2007 perl-5.8.8-threaded > drwxr-xr-x 4 brian wheel 136 Feb 22 2007 > perl-5.8.8-threaded-debugging > drwxr-xr-x 5 brian wheel 170 Feb 26 2007 perl-5.9.4 > drwxrwxr-x 5 brian wheel 170 Aug 19 01:42 perl-5.9.5 > drwxrwxr-x 5 brian wheel 170 Oct 7 18:45 perl-5.9.5-for-kp6 > drwxrwxr-x 5 brian wheel 170 Sep 30 17:16 perl4 > drwxr-xr-x 24 brian brian 816 Mar 13 2007 perlbench-0.93 > > I think have links in /usr/local/bin to each of the interpreters I like > to use: > > $ ls -l /usr/local/bin/perl* > -rwxr-xr-x 2 root wheel 1103676 Apr 9 2007 /usr/local/bin/perl > lrwxr-xr-x 1 root wheel 47 Dec 2 12:44 > /usr/local/bin/perl5.10.0 -> > /usr/local/perls/perl-5.10.0-rc2/bin/perl5.10.0 > lrwxr-xr-x 1 root wheel 41 Aug 16 00:00 > /usr/local/bin/perl5.6.2 -> /usr/local/perls/perl-5.6.2/bin/perl5.6.2 > -rwxr-xr-x 2 root wheel 1103676 Apr 9 2007 /usr/local/bin/perl5.8.8 > lrwxr-xr-x 1 root wheel 41 Sep 29 14:38 > /usr/local/bin/perl5.9.5 -> /usr/local/perls/perl-5.9.5/bin/perl5.9.5 > > When I want to install modules, I use the right interpreter with > cpan(1): > > $ perl5.10.0 cpan Foo Bar Hey brian, Do you typically just take the defaults when compiling Perl? Robert