Just noticed this issue with a customer:
$ perl -e 'require "ctime.pl"; print "Hello\n";'
Can't locate ctime.pl in @INC (@INC contains: /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at -e line 1.
Looks like Apple may have left out ctime.pl in their version of perl
that comes with Mavericks.
This might be specific to the 10.9.2 update; I no longer have a version
of Mavericks that hasn't been updated to test.
While I don't think any of the default Rush submit scripts
(in either Rush 102 or Rush 103) use ctime.pl, never the less
it might be an issue for customized scripts where ctime.pl is added.
In rush 103, the default mountcheck script (disabled by default)
does use ctime.pl, so if you migrate to Mavericks and use a modified
version of the default mountcheck script, you might want to make
the following changes to avoid its use of ctime.pl until the issue is resolved:
1) Comment out or remove this line:
require "ctime.pl";
2) Change this line:
my $date = ctime(time()); chomp($date);
.. to instead read:
my $date = `date`; chomp($date);
That's it.
Perhaps there's an easy way to fix the OS version of perl too.
I've reported this issue on the apple discussions forum here;
awaiting feedback: https://discussions.apple.com/thread/5969985
..if nothing comes up there, I'll report it as a bug to Apple.
|