William Scott wrote: > Hi folks: > > To my knowledge, I have not tampered with my system perl > installation. I've installed psync with fink, and macosx-file-pm, > upon which it depends. > > When I try to use psync, I get the following: > > > zsh-% sudo /sw/bin/psync -d / /Volumes/Scottlab_700GB > > Can't locate MacOSX/File.pm in @INC (@INC contains: /System/Library/ > Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 / > Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 / > Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level / > Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/ > Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/ > 5.8.6 /Library/Perl/5.8.1 .) at /sw/bin/psync line 14. > BEGIN failed--compilation aborted at /sw/bin/psync line 14. > > This concerns me because the fink perl path (or whatever it is > called) is obviously not in there. Is psync messed up, or is it more > fundamental? The fink program itself works fine, so I assume perl is > ok, but I am not sure what to try next. > > I'm trying to install MacOSX::File using cpan as a work-around, but > if there is a problem with fink's psync, this would only mask it. > > Thanks. > > Bill > > > > > William G. Scott > > contact info: http://chemistry.ucsc.edu/~wgscott > > > > Looks like the OS 10.4.9+ sudo "feature". Does it work if you do "sudo -s" and then run the command? If so, then you may just need to use
env PERL5LIB=$PERL5LIB sudo /sw/bin/psync -d / /Volumes/Scottlab_700GB -- Alexander K. Hansen Fink User Liaison/Documenter akh AT finkproject DOT org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users