Moin,

I am familiar with munin, a monitoring application written in perl.

For an own plugin/extension, I want to monitor windows PC using the WMI 
protocol. But the installation for DBD::WMI (using cpan) fails:

cpan> install DBD::WMI
Running install for module DBD::WMI

After getting the module some dependencies are found but resolved. But the 
build process fails:

ERROR from evaluation of /root/.cpan/build/libwin32-0.28/Process/Makefile.PL: 
Undefined subroutine &Win32::IsWinNT called at ./Makefile.PL line 7.

WriteMakefile(
    'INC'               => ($is_msvc ? '-GX' : ''),
    'DEFINE'            => (Win32::IsWinNT() ? '' : '-DSTRICTLY_WINDOWS95'),
    'NAME'              => 'Win32::Process',
    'VERSION_FROM'      => 'Process.pm',
    'XS'                => { 'Process.xs' => 'Process.cpp' },
    'dist'              => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
    ($] < 5.005 ? () :
      (
        'AUTHOR'        => 'Unknown',
        'ABSTRACT_FROM' => 'Process.pm',
      )),
);

So, what is the solution?

Thanks
-- 
|Michael Renner      E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich      Germany        ICQ: #112280325 |
|Germany             Don't drink as root!      ESC:wq
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to