On May 15, 2007, at 3:46 PM, Holger Schulz wrote: > > Am 2007-05-15 um 20:27 schrieb Alexander K. Hansen: > >> Since Apple changed how sudo handles its environment, you'll need >> to run the script using "sudo update.pl" > > Doesn't work: > > [racoon:~/scripts-10.4-update-0.4] admin% sudo update.pl > sudo: update.pl: command not found > [racoon:~/scripts-10.4-update-0.4] admin% sudo ./update.pl > Can't locate Fink/Bootstrap.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/darwin-thread- > multi-2level /Library/Perl/5.8.1 .) at ./update.pl line 36. > [racoon:~/scripts-10.4-update-0.4] admin% > > > What can I do? >
Looks like your PERL5LIB isn't set. When you installed fink did you let it fix up your profile? You should have a line in your .bash_profile along the lines of: test -r /sw/bin/init.sh && . /sw/bin/init.sh export PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin then try again. Or, probably better, source in the /sw/bin/init.sh file so your environment settings are correct. -- J. ------------------------------------------------------------------------- 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-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
