Thomas von Eyben wrote: > Hi Alexander, > > Many thanx for you quick and precise reply, it's much appreciated(!) > > On Mon, Apr 6, 2009 at 1:44 PM, Alexander Hansen > <[email protected]> wrote: [] >> Apple's sudo doesn't pass Fink's environment on to perl, by default. >> You can work around this, if needed, by using >> >> sudo env PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin cpan
Simpler: sudo env PERL5LIB=$PERL5LIB cpan (although I would not recommend to use cpan; IMHO your problems show clearly why this is a bad idea.) Just install Fink's psync package and then use it as sudo env PERL5LIB=$PERL5LIB psync Even simpler: Reduce sudo's anality once and for all by adding a line Defaults env_keep += "PERL5LIB" to the /etc/sudoers file (edit it using 'sudo visudo'.) Then you can simply use 'sudo psync' as usual. -- Martin ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
