On Mon, Apr 6, 2009 at 9:08 PM, Martin Costabel <[email protected]> wrote:
> 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

I think the conclusion for my problem is that I updated cpan while NOT
having an up to date fink source.
A specific Mac OS X 10.5 problem (that I'd suggest should be
documented in the very fine FAQ, helping beginners such as myself ;-)
>
>  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
>
>
I was not having psync problems, (I think you meant to respond to the
thread "[Fink-beginners] Problems with Psync and Perl"), where it
seems that we're having some similair perl related problems…

;-) TvE

------------------------------------------------------------------------------
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

Reply via email to