Kstat utility not functioning after removing perl version that came with OS
807559Jul 7 2006 — edited Jul 12 2006I apologize in advance if this isn't the proper forum but maybe somebody could point me in the right direction (or where else to ask this question).
I need to get the kstat utility working again on a Solaris 9 machine. The perl version that came with the OS was removed and a new version was installed in /usr/local/perl5.8.6. The modules on which kstat depends upon I'm assuming need to be installed into the new perl installation.
I get the following:
$ kstat
Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains: /usr/local/perl5.8.6/lib/5.8.6/sun4-solaris /usr/local/perl5.8.6/lib/5.8.6 /usr/local/perl5.8.6/lib/site_perl/5.8.6/sun4-solaris /usr/local/perl5.8.6/lib/site_perl/5.8.6 /usr/local/perl5.8.6/lib/site_perl /ublocal/lib/perl .) at /bin/kstat line 15.
BEGIN failed--compilation aborted at /bin/kstat line 15.
I think I need to install these modules:
use Sun::Solaris::Utils qw(textdomain gettext gmatch);
use Sun::Solaris::Kstat;
Could somebody tell me how to do this? I cannot find them on CPAN.
Thanks,
-Andy Benson
Universtiy at Buffalo