From: Martin C. <cos...@wa...> - 2007-03-30 05:34:03
|
Jonathan Wilson wrote: [] > http://jwadmin.blogspot.com/2007/03/apples-mac-1049-update-breaks-cpan.html > > I'm probably the last person to figure this out, but I didn't see any other > discussion about it on the list so I thought I'd share my discovery, in case > anyone else runs into the same problem. It has been discussed on several Fink lists, fink-core, fink-devel, and even once on fink-beginners, but apparently not on fink-users. See for example <http://thread.gmane.org/gmane.os.apple.fink.core/1408/focus=1417> <http://thread.gmane.org/gmane.os.macosx.fink.devel/14250> As Alexander explains, fink itself has been aware of this for a while (as part of the preparation for 10.5) and has been fixed to work with the new version of sudo, even before 10.4.9 came out. For other perl programs, and also for bootstrapping older fink versions, two workarounds were proposed: Besides what you have found, namely running "sudo visudo" and adding Defaults env_delete-="PERLLIB PERL5LIB PERL5OPT" to /etc/sudoers, a less intrusive method was suggested, namely using the command sudo env PERL5LIB=$PERL5LIB cpan instead of simply "sudo cpan". -- Martin |