-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On May 13, 2011, at 1:53 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 5/13/11 2:34 PM, Russell McGaha wrote:
>> Alexander;
>>      I included the CPAN info mostly just for background; and on the off 
>> chance that it had a bearing on the Fink failure.
> 
> Only in the sense that the package doesn't actually build on x86_64, so
> I deactivated that option.
> 
>>      For testing purposes I used JUST 'psync TestFolder1/ TestFolder2/'; and 
>> the failure was as below.
>> 
>> Russell
>> 
>> 
>> On May 13, 2011, at 10:44 AM, Alexander Hansen wrote:
>> 
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>> 
> <snip>
> 
>> 
>>>> Then thought:  I'll just install Fink: my other mac's run it fine through 
>>>> Fink.  Boot-strapped Fink on the machine.  enabled unstable.  installed 
>>>> PSYNC.  Tried to use it, via a simple '/sw/bin/psync /TestFolder1/ 
>>>> TestFolder2/' and got the following error:
>>>> 
>>>> Can't locate MacOSX/File.pm in @INC (@INC contains: 
>>>> /sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level 
>>>> /sw/lib/perl5-core/5.8.8 
>>>> /sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level 
>>>> /sw/lib/perl5/site_perl/5.8.8 
>>>> /sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level 
>>>> /sw/lib/perl5/site_perl .) at /sw/bin/psync line 14.
>>>> BEGIN failed--compilation aborted at /sw/bin/psync line 14.
>>>> 
>>>> Searched the archives, and found a similar post.  read though it.  I'm not 
>>>> trying to run PSYNC via sudo though; just a plain call.  Tried the 
>>>> suggested fix: 'sudo env PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin 
>>>> psync' and it did succeed; BUT, I need to run it without sudo.
>>>> 
>>>> This is a 'remote' machine that i'm try to do a backup script for [backup 
>>>> the local home folder to a remote home folder.  RSYNC was giving me 
>>>> permission problems and this script needs to be an unmanned 'cron' job.
>>>> 
>>>>    ANY thoughts on how I can get this fixed so that PSYNC can run 
>>>> un-attended?
>>>> 
>>>> Russell
>>>> 
>>>> PS Please CC me on responses, as I'm on a digest feed.
>> 
>> 
>>> Why are you using "/sw/bin/psync" rather than just "psync"?
>> 
>>> If you are doing that because your Fink environment isn't being
>>> initialized, then that could definitely cause problems in finding Perl
>>> modules.
>> 
> 
> See if just "env PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin psync "
> works.

When run in an interactive environment, it worked.  But in a Script environment 
it did not.  [I only have access to the mac when it's user isn't using it, and 
he just came in so I could capture the error, since he had closed the window 
before I could get it]
> 
> And what do you get from "printenv PERL5LIB" ?

Nothing

> 
> - -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk3NfisACgkQB8UpO3rKjQ+/QQCeKvVJlhWghoOSszKoAku++e7v
> 6G4AoJtVyOCBvtDBexi7O+reCh9t1xS3
> =foTS
> -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJNzZB0AAoJEIGghrmGbTWQp8QIAJY+xdzzK1qCqTcFv8cU0dVH
LXJ/K99uuKC6QoPJ0b/91uOWBGlXrSO3kvo/14d5seVJUp2kvfLRApupA5OQbtsa
9SM/pAlWFubAVR/dnyyhX/9HwM6cZC6CDVoKzn/mDT3VmeuGFOvTXtfyCGdvLbJA
5Ji18OPjWRHc7jTneNEJLlmYW5E0NM530nINqlq9bMEiHI41kYqgKGeeHPCk4oGc
JoY5iiET2DAjNGCRA+fMA/k+2VuscuNHr1IryUpuWq1rwwLUy4RCmBFz0C+vQaWO
736PuPsl1ESsGRYPyazHRKP04+4/b0RBeDxz9lw9s1p/S++soJnZ8fYhJYjJvR8=
=moyk
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to