CC: | Michael.Mestnik [...] ngc.com |
Subject: | Bareword "Win32::.* |
I'm going to remove these two modules from the build, --without flags
would be appreciated as I'm only looking for Schedule.
$ uname -a
Linux ### 2.6.16.60-0.97.1-smp #1 SMP Tue May 29 19:21:39 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 4
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..16
# Running under perl version 5.008008 for linux
# Current time local: Thu Sep 20 09:24:34 2012
# Current time GMT: Thu Sep 20 14:24:34 2012
# Using Test.pm version 1.25
Required modules:
use Data::Dumper ok 1
use Fcntl ok 2
use IO::File ok 3
use IO::Handle ok 4
use IO::Socket ok 5
use IO::Select ok 6
use IPC::Open3 ok 7
use Safe ok 8
use Sys::Hostname ok 9
Optional modules:
use Net::Ping ok 10
Packaged modules:
use Sys::Manage::Cmd not ok 11
# Test 11 got: <UNDEF> (test.pl at line 37)
# Expected: "1"
# test.pl line 37 is: ok(eval("use Sys::Manage::${m}; 1"), 1);
use Sys::Manage::CmdEscort ok 12
use Sys::Manage::CmdFile ok 13
use Sys::Manage::Conn ok 14
use Sys::Manage::Schedule ok 15
use Sys::Manage::Desktops not ok 16
# Test 16 got: <UNDEF> (test.pl at line 37 fail #6)
# Expected: "1"
$ perl ./blib/lib/Sys/Manage/Cmd.pm
Bareword "Win32::NodeName" not allowed while "strict subs" in use at
./blib/lib/Sys/Manage/Cmd.pm line 315.
BEGIN not safe after errors--compilation aborted at
./blib/lib/Sys/Manage/Cmd.pm line 555.
$ perl ./blib/lib/Sys/Manage/Desktops.pm
Bareword "Win32::IsWinNT" not allowed while "strict subs" in use at
./blib/lib/Sys/Manage/Desktops.pm line 824.
Execution of ./blib/lib/Sys/Manage/Desktops.pm aborted due to
compilation errors.
perl --version
This is perl, v5.8.8 built for x86_64-linux-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.
Cheers.