runpsync triggers error - Can't locate MacOSX/File.pm

Rainer Müller raimue at macports.org
Wed Mar 25 12:50:38 PDT 2009


Bill Hernandez wrote:
> [2009.25.03](11:15AM) -> [roscoe] ~ $ sudo /usr/local/bin/runpsync 0 - 
> d 0 '/' '/Volumes/Backup_24'
> Password:
> 
> Backup begun Wed Mar 25 11:16:18 2009
> 
> Can't locate MacOSX/File.pm in @INC (@INC contains:
> 
> 	/System/Library/Perl/5.8.8/darwin-thread-multi-2level
> 	/System/Library/Perl/5.8.8
> 	/Library/Perl/5.8.8/darwin-thread-multi-2level
> 	/Library/Perl/5.8.8
> 	/Library/Perl
> 	/Network/Library/Perl/5.8.8/darwin-thread-multi-2level
> 	/Network/Library/Perl/5.8.8
> 	/Network/Library/Perl
> 	/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
> 	/System/Library/Perl/Extras/5.8.8
> 	/Library/Perl/5.8.6
> 	/Library/Perl/5.8.1 .) at /usr/local/bin/psync line 14.
> 
> BEGIN failed--compilation aborted at /usr/local/bin/psync line 14.
> Backup completed: Wed Mar 25 11:16:19 2009[2009.25.03](11:16AM) ->  
> [roscoe] ~ $

Looks like your psync is using /usr/bin/perl instead of
/opt/local/bin/perl.

> WHEN I do a search for 'File.pm', I seem to find a bunch of them. Not  
> quite sure what has happened ?

$ port provides
/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-thread-multi-2level/MacOSX/File.pm
/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-thread-multi-2level/MacOSX/File.pm
is provided by: p5-macosx-file

You probably don't have p5-macosx-file installed?

Rainer


More information about the macports-users mailing list